MATLAB: When I use PLOTYY how to change the axes limits for the second axes using the Plot Browser

axislimitsMATLABsecondaxlimitylimit

From the Plot Browser in the UI menu (View –> Plot Browser), I have access to the axes limits for one of my y-axes, but not the other. I would like to be able to interactively change the limits of the second axes.

Best Answer

To do this, select the second Axes object in the "Plot Browser" pane. This should be the top-right pane in the Plot Browser window.
Here, click on the text that indicates 'Axes 2' or the name of the secondary axes whose limits you would like to modify interactively. Once this is in focus, select the "Y Axis" tab in the bottom pane. The "Y Limits" text boxes should allow for interactive modification now.
Related Question