plot function y axis

1 view (last 30 days)
Klaudio Myrtaj
Klaudio Myrtaj on 28 Mar 2020
Answered: Star Strider on 28 Mar 2020
Hi !
I have to plot two vectors 1000x1 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 !

Answers (1)

Star Strider
Star Strider on 28 Mar 2020
Put:
ylim([1 100])
after the plot call.

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!