Plotting multiple graphs on each subplot

1 Ansicht (letzte 30 Tage)
AD
AD am 20 Jan. 2021
Bearbeitet: AD am 13 Jul. 2021
NA

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 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-')
  1 Kommentar
AD
AD am 20 Jan. 2021
Thank you so much! Really appreciate it :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by