How To... Plot Multiple Data Sets on the Same plot

7 vues (au cours des 30 derniers jours)
Hassanean
Hassanean le 16 Sep 2017
Commenté : Hassanean le 17 Sep 2017
  2 commentaires
per isakson
per isakson le 16 Sep 2017
Doc says:
plot(X1,Y1,LineSpec1,...,Xn,Yn,LineSpecn)
Hassanean
Hassanean le 16 Sep 2017
Thanks

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 16 Sep 2017
Or:
plot(1:10, rand(1, 10), 'r-+');
hold('on');
plot(1:10, rand(1, 10), 'g-d');
plot(1:10, rand(1, 10), 'b-*');

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