How to two Y axies plot in app designer?

2 ビュー (過去 30 日間)
Changhui Park
Changhui Park 2017 年 12 月 15 日
コメント済み: Matthew Suttinger 2018 年 2 月 28 日
Now, I create App in app designer. I want draw graph-plot x, y1, y2.
How to two Y axies plot in app designer?

回答 (1 件)

Michal Dobai
Michal Dobai 2017 年 12 月 15 日
You can try this:
plot(app.UIAxes,[1 2 3 4],[3 5 2 6],'-r');
hold(app.UIAxes);
plot(app.UIAxes,[1 2 3 4],[4 6 3 7],'--b');
Here you can find more info: Graphics Support in App Designer
And this is the result:
  1 件のコメント
Matthew Suttinger
Matthew Suttinger 2018 年 2 月 28 日
This does not answer the question asked. The example plot you show has only one y axis.

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

カテゴリ

Help Center および File Exchange앱 디자이너를 사용하여 앱 개발하기 についてさらに検索

Community Treasure Hunt

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

Start Hunting!