How to label 2nd y-axis

1 Ansicht (letzte 30 Tage)
Hydro9 Hisz
Hydro9 Hisz am 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Two y-axis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by