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

Answers (1)

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-*');

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 16 Sep 2017

Commented:

on 17 Sep 2017

Community Treasure Hunt

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

Start Hunting!