plot function y axis

1 次查看(过去 30 天)
Klaudio Myrtaj
Klaudio Myrtaj 2020-3-28
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 !

回答(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