Effacer les filtres
Effacer les filtres

how to limit one axis in plot function

1 vue (au cours des 30 derniers jours)
muthu kumar
muthu kumar le 8 Juin 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

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by