2y axis in appdesigner

34 ビュー (過去 30 日間)
Mirek Janda
Mirek Janda 2018 年 4 月 5 日
コメント済み: Jiri Junek 2022 年 10 月 13 日
Is it possible to plot 2 y axis in the appdesigner? It is similar to plotyy in the regular figure. They you can assign the plotting axis yyaxis left/right;

採用された回答

Mirek Janda
Mirek Janda 2018 年 4 月 5 日
編集済み: Mirek Janda 2018 年 4 月 11 日
Easy solution
yyaxis(app.UIAxes,'left')
plot(app.UIAxes,xdata,ydata);
yyaxis(app.UIAxes,'right')
plot(app.UIAxes,xdata,y2data);
  4 件のコメント
Andrew Davies
Andrew Davies 2019 年 10 月 17 日
this hangs in R2019b on exit or sometimes when the UI elements are changed. Worked finein 2019a.
Jiri Junek
Jiri Junek 2022 年 10 月 13 日
Works on 2022b.

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

その他の回答 (1 件)

Iurii Medvedev
Iurii Medvedev 2019 年 1 月 9 日
Help me please.
How to use different grids for different axes?

カテゴリ

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