How to two Y axies plot in app designer?

4 vues (au cours des 30 derniers jours)
Changhui Park
Changhui Park le 15 Déc 2017
Now, I create App in app designer. I want draw graph-plot x, y1, y2.
How to two Y axies plot in app designer?

Réponses (1)

Michal Dobai
Michal Dobai le 15 Déc 2017
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 commentaire
Matthew Suttinger
Matthew Suttinger le 28 Fév 2018
This does not answer the question asked. The example plot you show has only one y axis.

Connectez-vous pour commenter.

Catégories

En savoir plus sur 앱 디자이너를 사용하여 앱 개발하기 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!