Could any body help me to hold y axis constant number as the x axis changing ?
Mostrar comentarios más antiguos
I am trying to draw one matrix whose values are changing 1 to 7 on yaxis and I want to determine yaxis' value 7 for every x intervals. I mean if x interval has max value on 1.4 , autoscale plots 0 to 2. I want to prevent this case.
Respuestas (1)
Dishant Arora
el 23 de Feb. de 2014
xlim('auto');
ylim([1 7]);
2 comentarios
Onur PEKER
el 23 de Feb. de 2014
Dishant Arora
el 23 de Feb. de 2014
xlim([0 7]);
There's no constraint on Y axis ???
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!