How to label 2nd y-axis

9 views (last 30 days)
Hydro9 Hisz
Hydro9 Hisz on 8 Jul 2011
Is it possible to label the 2nd y-axis on plotyy? ylabel labels the main y-axis, is there a function to set a label for the second axis?

Accepted Answer

Sean de Wolski
Sean de Wolski on 8 Jul 2011
H = plotyy(1:10,1:10,1:10,rand(1,10));
ylabel(H(1),'ylabel 1');
ylabel(H(2),'ylabel 2');

More Answers (0)

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!