How do I add a left/right axis to a plot in matlab 2013a

조회 수: 2 (최근 30일)
abdelmounim HMAMOU
abdelmounim HMAMOU 2023년 2월 21일
답변: Jan 2023년 2월 21일
I would like to create another axis on my plot in MATLAB R2013a. It appears the the "yyaxis" function does this.
The "plotyy" function does not work for me as there are limitations in customization of the axes.
Is there any better and simple way to create another axis? N.B I have matlab 2013a version. thanks
  댓글 수: 1
Star Strider
Star Strider 2023년 2월 21일
If plotyy does not do what you want, then the only option is likely to upgrade to a later MATLAB release/version that uses yyaxis (preferably the latest release).

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

답변 (1개)

Jan
Jan 2023년 2월 21일
You find several corresponding FileExchange submissions: https://www.mathworks.com/matlabcentral/fileexchange?q=plotyy
plotyy creates 2 axes objects. I cannot imagine, how this limits the customization iny any way.

카테고리

Help CenterFile Exchange에서 Two y-axis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by