Plotting multiple graphs in one plot.
Show older comments
I have a plot of the change of the temperature variations from 2014-2013 for different altitudes. let's say I have it for 10 different altitudes. How do I plot them in the same graph. In the pdf I have attached you will see 2 figures. I want to construct the plot in the figure 1 from similar plots like in the figure 2. How would I do that.
Accepted Answer
More Answers (1)
Mischa Kim
on 10 Oct 2014
Hello anton, there is no attachment. But if you can plot one curve, you can do several as well:
t = 0:0.1:1;
a1 = rand(size(t));
a2 = 2*rand(size(t));
a3 = 3*rand(size(t));
alt = [a1; a2; a3];
plot(t,alt)
1 Comment
anton fernando
on 10 Oct 2014
Categories
Find more on Graphics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!