Borrar filtros
Borrar filtros

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

5 visualizaciones (últimos 30 días)
Gargi
Gargi el 26 de Feb. de 2015
Editada: Athar Ali el 16 de En. de 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

Respuestas (2)

dpb
dpb el 26 de Feb. de 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 el 16 de En. de 2022
Editada: Athar Ali el 16 de En. de 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

Categorías

Más información sobre Two y-axis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by