How to use yyaxis command in app designer?

5 次查看(过去 30 天)
How to use yyaxis command in app designer? When I used, there is error messange Error using yyaxis Axes argument must be a Cartesian Axes of type matlab.graphics.axis.Axes Error in agile_App1/ButtonButtonPushed (line 62) yyaxis(app.h1,'left');

回答(2 个)

Anish Mitra
Anish Mitra 2016-6-28
It looks like the 'yyaxis' command is not supported in the App Designer, since it cannot be used with 'UIAxes'.
This is the list of supported graphics functionality in the App Designer as of the current release :
-- Anish
  2 个评论
David Smith
David Smith 2016-11-15
Anish, I am a little confused. That link lists yyaxis as a function supported in 2016b. Were you responding before the 2016b was available? (I am using 2016b and cannot get yyaxis to work either.) Thanks, Dave
Walter Roberson
Walter Roberson 2016-11-15
Yes, R2016b was not until September and Anish was writing in June.

请先登录,再进行评论。


liangsai liang
liangsai liang 2020-1-2
here here
https://ww2.mathworks.cn/matlabcentral/answers/392950-2y-axis-in-appdesigner

Community Treasure Hunt

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

Start Hunting!

Translated by