How to edit second y axis (when using plotyy function)?

4 vues (au cours des 30 derniers jours)
Gargi
Gargi le 26 Fév 2015
Modifié(e) : Athar Ali le 16 Jan 2022
I've plot a graph with two y axis using plotyy. I want to edit the 2nd y axis on left side using plot browser but its not being edited. Please, help me.
Thanks & Regards

Réponses (2)

dpb
dpb le 26 Fév 2015
Seems to work if select on the LH or RH axis after switching focus to the figure and then double-click on the axes of choice. I could the flip either by the "Reverse" direction button to see if was one of interest. Did have to switch focus from that axes back to figure then select the other axes to select the alternate one, however.

Athar Ali
Athar Ali le 16 Jan 2022
Modifié(e) : Athar Ali le 16 Jan 2022
I was facing the same issue of editing it on matlab 2020b. You can use the following comands to select the desired y axis.
yyaxis left
yyaxis right

Catégories

En savoir plus sur Two y-axis dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by