Borrar filtros
Borrar filtros

Plot on the right y-axis

1 visualización (últimos 30 días)
Daniele Morello
Daniele Morello el 28 de Sept. de 2015
Editada: Daniele Morello el 28 de Sept. de 2015
hi everyone, i'm using "axes" of Matlab GUI. i have to plot 2 parameters on the same graph (axes GUI), each one with its own scale, the first one on the left y-axis and the second one on the right y-axis. how can i do?
what are the steps to add second y-axis (the one on the right side), set the own scale and plot to specified y-axis?

Respuestas (1)

Sean de Wolski
Sean de Wolski el 28 de Sept. de 2015
Use plotyy.
>> plotyy(1:10,1:10,1:10,(1:10).^exp(1))
  1 comentario
Daniele Morello
Daniele Morello el 28 de Sept. de 2015
Editada: Daniele Morello el 28 de Sept. de 2015
but if i want to plot only on the right y-axis?

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by