Add another y axis on the plot

7 visualizaciones (últimos 30 días)
Linden
Linden el 22 de Mayo de 2014
Editada: Yao Li el 22 de Mayo de 2014
Hi Can anyone tell me how to add another y axis (not x) on the RHS of my graph? I want it has the same settings as the LHS one. I don't want to use plotyy as it requires have two series but I only have one. Thanks

Respuestas (1)

Yao Li
Yao Li el 22 de Mayo de 2014
Why not try plotyy(x,y,x,y)? Actually, you don't need two different series. They can be identical.
  2 comentarios
Linden
Linden el 22 de Mayo de 2014
I tried actually but didn't work. My graph is a bit complicated. It has bar charts behind the line chart as well.
Yao Li
Yao Li el 22 de Mayo de 2014
Editada: Yao Li el 22 de Mayo de 2014
may be helpful
And there is an app named as addaxis in File Exchange

Iniciar sesión para comentar.

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