shall I use 'plotyy' to plot two curves from the same starting point?

1 visualización (últimos 30 días)
vx2008
vx2008 el 25 de Dic. de 2015
Respondida: Walter Roberson el 25 de Dic. de 2015
I use plotyy to plot as below picture:
Just you see, the red curve starts from point A; and the blue curve starts from point B;
my question is that shall I set something to red and blue curves start from the same point? Or I should say make point A and point B to become the same point?

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de Dic. de 2015
You can manipulate xlim and ylim for the axes so that the points coincide, but I am not convinced that it is meaningful to do so considering the very different scales.

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