How to use yyaxis command in app designer?

5 views (last 30 days)
Junghak
Junghak on 15 Jun 2016
Answered: liangsai liang on 2 Jan 2020
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');

Answers (2)

Anish Mitra
Anish Mitra on 28 Jun 2016
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 Comments
David Smith
David Smith on 15 Nov 2016
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 on 15 Nov 2016
Yes, R2016b was not until September and Anish was writing in June.

Sign in to comment.


liangsai liang
liangsai liang on 2 Jan 2020
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!