setting only the y axis scale of a plot

i want to set the scale of the y axis on a plot without setting the x, so that the scale of the x axis remains automatically determined.
i normally use the following axis([xmin xmax ymin ymax]) but of course that doesnt seem to work in this situation.
thanks in advance

답변 (1개)

Patrick Kalita
Patrick Kalita 2011년 4월 18일

1 개 추천

You can use the ylim command, or use the YLim property if you have the axes handle.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

k h
2011년 4월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by