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

4 views (last 30 days)
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

Answers (2)

dpb
dpb on 26 Feb 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 on 16 Jan 2022
Edited: Athar Ali on 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

Categories

Find more on Two y-axis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!