Plotting two(function) curve in same figure?how?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Mary Jon
il 15 Nov 2013
Commentato: Md Nafiul Islam
il 21 Dic 2017
can Iam plotting two(function) curve in one figure?how? y1=function y2=function x=1:1:40
plot(x,y1) plot(x,y2)
in same figure? how?
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 15 Nov 2013
Modificato: Azzi Abdelmalek
il 15 Nov 2013
plot(x,y1)
hold on
plot(x,y2)
%or
plot(x,y1,x,y2)
%or
plotyy(x,y1,x,y2)
3 Commenti
Azzi Abdelmalek
il 15 Nov 2013
Modificato: Azzi Abdelmalek
il 15 Nov 2013
figure
hold on
plot(x,y1)
plot(x,y2)
plot(x,y3)
%and so on
hold off
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!