How to label 2nd y-axis
9 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
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');
0 Comments
More Answers (0)
See Also
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!