How can i plot the results of two separate m files in same figure window.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to do this for comparative purpose
1 commentaire
Walter Roberson
le 19 Nov 2013
duplicated by http://www.mathworks.co.uk/matlabcentral/answers/106709-how-can-results-of-two-separate-m-files-be-plotted-in-same-figure-window which should be merged with it.
Réponses (1)
Azzi Abdelmalek
le 19 Nov 2013
plot(x1,y1,x2,y2)
%or
plot(x1,y1)
hold on
plot(x2,y2)
hold off
%or
plotyy(x1,y1,x2,y2)
0 commentaires
Voir également
Catégories
En savoir plus sur Graphics Objects 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!