How to plot multiple data sets on the same graph
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Aamna Sami
am 9 Dez. 2017
Kommentiert: Aamna Sami
am 12 Dez. 2017
The following coding is only plotting the first two variables on the plot.
plot(years,run_rate,'r-s',years,CL,'g-',years,UCL,'g-',years,LCL,'g-');
0 Kommentare
Akzeptierte Antwort
Birdman
am 9 Dez. 2017
Use hold on command between. For instance:
plot(years,run_rate,'r-s');hold on;plot(years,CL,'g-');hold on;plot(years,UCL,'g-');hold on;plot(years,LCL,'g-')
5 Kommentare
Birdman
am 9 Dez. 2017
Can you accept the answer so that other people having the same problem will know there is a working solution.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!