plot function y axis
显示 更早的评论
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
2020-3-28
Put:
ylim([1 100])
after the plot call.
类别
在 帮助中心 和 File 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!