Filter löschen
Filter löschen

how to limit one axis in plot function

1 Ansicht (letzte 30 Tage)
muthu kumar
muthu kumar am 8 Jun. 2011
hai i want to limit one aixis for a particular limit how can i do this i think it is very easy , but i am new , plz any one can help me ex; plot(x,y1,x,y2,x,y3) in this i want to limit y axis in , i already limit x axis but i want to limit y1,y2,y3 in the limit of -1.5 to 1.5 plz guide me

Akzeptierte Antwort

Paulo Silva
Paulo Silva am 8 Jun. 2011
ylim([-1.5 1.5])
or
set(gca,'ylim',[-1.5 1.5])

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by