March 13, 2019
As I'm moving on using MATLAB's feature, there's another challenge occurring:
I'd like to display the days of the week on the x-axis. So far so simple, e.g. plot(data.Timestamps, data.TemperatureWeek1)
But I'd like to do that for data of lets say the last four weeks.
The data should not be displayed one after the other nor stacked one on top of the other but displayed in the 'some plot'.
Weekdays are identical regardless of which week the data is from. And distinguishing between the weeks could be easily done by its color and the legend.
How could I do that?
Thanks a lot
March 7, 2017
I think you will want to split your data series into multiple series for each week.
MATLAB allos you to search for a value and create a new variable with the values that match a condition.
for example, if
will provide all the values greater than 10 and store them in the variable bigValues.
You should be able to use this to sort your time values as well.
You can see an example of how to plot multiple series here.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormier
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457