2y axis in appdesigner

23 visualizaciones (últimos 30 días)
Mirek Janda
Mirek Janda el 5 de Abr. de 2018
Comentada: Jiri Junek el 13 de Oct. de 2022
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;

Respuesta aceptada

Mirek Janda
Mirek Janda el 5 de Abr. de 2018
Editada: Mirek Janda el 11 de Abr. de 2018
Easy solution
yyaxis(app.UIAxes,'left')
plot(app.UIAxes,xdata,ydata);
yyaxis(app.UIAxes,'right')
plot(app.UIAxes,xdata,y2data);
  4 comentarios
Andrew Davies
Andrew Davies el 17 de Oct. de 2019
this hangs in R2019b on exit or sometimes when the UI elements are changed. Worked finein 2019a.
Jiri Junek
Jiri Junek el 13 de Oct. de 2022
Works on 2022b.

Iniciar sesión para comentar.

Más respuestas (1)

Iurii Medvedev
Iurii Medvedev el 9 de En. de 2019
Help me please.
How to use different grids for different axes?

Categorías

Más información sobre Two y-axis en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by