Plotting graphs questions ?

1 visualización (últimos 30 días)
Jason
Jason el 13 de Ag. de 2011
Hi, I need help here. Basically, I have two plots that I would like to compare, but the second plot needs to be on the secondary axis (right hand side of the figure). Refer to this link: Plot
So, is there some sort of mirroring function for the green plot?

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de Ag. de 2011
I am not sure what you mean by "mirroring", but perhaps setting the XDir or YDir property of the second axes to 'reverse' would be what you are looking for.
  1 comentario
Jason
Jason el 13 de Ag. de 2011
Exactly. Anyway, I used flipud on my array and it does the same thing. Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots 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