Multiple Plots in Matlab

PHOTO EMBED

Sat Mar 20 2021 07:20:12 GMT+0000 (Coordinated Universal Time)

Saved by @FlorianC #matlab #plots

# multiple line plots
plot(monthz, avgTempLondon,'r:o')
hold on # tells the graph to keep the prior plots
plot(month, avgTempRio, 'b-*')

# mixed plot types
bar(month, maxTempLondon,'yellow')
hold on
plot(monthz, avgTempLondon,'red')
content_copyCOPY