How to give axis labels in plotyy comand while it is used in subplot(2.1.1)...........
Mostra commenti meno recenti
How to give axis labels in plotyy comand while it is used in subplot(2.1.1)...........
Risposte (1)
x = 1:5;
y1 = 1:5;
y2 = 5:-1:1;
figure
subplot(2,1,1)
[ax h1 h2]=plotyy(x,y1,x,y2);
set(get(ax(1),'Ylabel'),'String','this is Y axis 1!!!');
set(get(ax(2),'Ylabel'),'String','this is Y axis 2!!!');
1 Commento
Chris Martin
il 27 Mag 2014
Categorie
Scopri di più su Two y-axis in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!