フィルターのクリア

hot to plot data on right side of y-axis?

5 ビュー (過去 30 日間)
Engineer Batoor khan mummand
Engineer Batoor khan mummand 2020 年 11 月 20 日
hi all:
i want to plot T on right side of y-axis and I on left side of y-axis .
i used plotyy code and yyaxis right/yyaxis left code but still it gives me error .
T=[29.164 30.256 31.186 32.237 33.127 34.137 35.148 37.129 36.119 35.148 34.137 33.127]
I=[116 207 414 611 909 1009 951 909 805 615 311 120];
thanks

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2020 年 11 月 20 日
編集済み: KALYAN ACHARJYA 2020 年 11 月 20 日
T=[29.164 30.256 31.186 32.237 33.127 34.137 35.148 37.129 36.119 35.148 34.137 33.127]
I=[116 207 414 611 909 1009 951 909 805 615 311 120];
yyaxis right
plot(T);
yyaxis left
plot(I);
  1 件のコメント
Engineer Batoor khan mummand
Engineer Batoor khan mummand 2020 年 11 月 20 日
thank you so much KALYAN ACHARJYA .

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by