plot function y axis

조회 수: 2 (최근 30일)
Klaudio Myrtaj
Klaudio Myrtaj 2020년 3월 28일
답변: Star Strider 2020년 3월 28일
Hi !
I have to plot two vectors 51x1 with the plot function.
>> T01 = linspace(-40,10,1000);
>> RH = linspace(1,100,1000);
>> c2 = 150;
>> RH_cond(T01, RH,c2);
>> T01= T01';
The vectors are "T01" and the output of the function RH_cond.
This is the result. But I want to see all the y axis, from 1 to 100.
Thank you !

답변 (1개)

Star Strider
Star Strider 2020년 3월 28일
Put:
ylim([1 100])
after the plot call.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by