Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
abdelmounim HMAMOU
abdelmounim HMAMOU el 21 de Feb. de 2023
Respondida: Jan el 21 de Feb. de 2023
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 comentario
Star Strider
Star Strider el 21 de Feb. de 2023
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).

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 21 de Feb. de 2023
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.

Categorías

Más información sobre Two y-axis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by