필터 지우기
필터 지우기

2y axis in appdesigner

조회 수: 47 (최근 30일)
Mirek Janda
Mirek Janda 2018년 4월 5일
댓글: Jiri Junek 2022년 10월 13일
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.
Jiri Junek
Jiri Junek 2022년 10월 13일
Works on 2022b.

댓글을 달려면 로그인하십시오.

추가 답변 (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