Plotting multiple graphs on each subplot
1 view (last 30 days)
Show older comments
NA
0 Comments
Accepted Answer
Cris LaPierre
on 20 Jan 2021
You are getting the second plot, but only one data point of it, so it's being plotted as a point. However, since you do ot specify a marker style, you will not be able to see it.
If you want to see a single point, specify a markerstyle.
If you want to see a line, specify more than one y value by specifying all columns of fit_temp
plot(x,fit_temp(i,:),'b-')
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!