I need three lines on one graph
22 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
x=0:0.3:30;semilogy(x,exp(x))
coordinates x1= 0, 0,5
x2 = 0, 001
x3=0,001 - another line
0 commentaires
Réponses (3)
TADA
le 11 Déc 2018
x=0:0.3:30;
hold off;
semilogy(x,exp(x));
hold on;
semilogy(x,2*exp(x));
semilogy(x,10*exp(x));
0 commentaires
Yuriy Gamiy
le 11 Déc 2018
1 commentaire
TADA
le 11 Déc 2018
Sorry, I don't understand, what do you want to put in your Y axis?
what is that Y vector you wrote?
Yuriy Gamiy
le 11 Déc 2018
1 commentaire
TADA
le 11 Déc 2018
If what you want is to change the label,
you can use
ylabel('something something');
and name it whatever you want
Voir également
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!