2 y axis (secondary y axis)

10 views (last 30 days)
shuda
shuda on 31 Mar 2011
Is it possible to add a secondary axis using plot tools and without touching the code?

Answers (1)

Jan
Jan on 31 Mar 2011
If you can touch the code, use the PLOTYY command. This would be more reproducible.
With the PLOTTOOL you can add an AXES object:
plottools on
% Figure menu > Insert > Axes
Afterwards you can adjust the properties of the new AXES as wanted, e.g. YAxisLocation -> right, Color -> none, etc. Look in the source of PLOTYY to find more useful changes.

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!