plot function y axis

2 vues (au cours des 30 derniers jours)
Klaudio Myrtaj
Klaudio Myrtaj le 28 Mar 2020
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 !

Réponses (1)

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

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by