Plot temperature Mean vs time

1 view (last 30 days)
Clickme26
Clickme26 on 16 Nov 2022
Edited: VBBV on 16 Nov 2022
From my code provided, how would i plot the temperature Mean vs years?

Answers (1)

VBBV
VBBV on 16 Nov 2022
Edited: VBBV on 16 Nov 2022
Use the . symbol to access the variables and markers since you are plotting scalars in the for loop
plot(dataStruct.Mean,dataStruct.Month,'bo') % use a marker

Categories

Find more on Line Plots 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!