2y axis in appdesigner

48 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by