フィルターのクリア

How to give axis labels in plotyy comand while it is used in subplot(2.​1.1)......​.....

1 回表示 (過去 30 日間)
Chris Martin
Chris Martin 2014 年 5 月 27 日
コメント済み: Chris Martin 2014 年 5 月 27 日
How to give axis labels in plotyy comand while it is used in subplot(2.1.1)...........

回答 (1 件)

rifat
rifat 2014 年 5 月 27 日
編集済み: rifat 2014 年 5 月 27 日
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!!!');

カテゴリ

Help Center および File ExchangeTwo y-axis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by