how to limit one axis in plot function

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by