Plot a timeseries and count the days on x-axis.
Show older comments
Hello everyone.
I would like to plot a timeseries with the following code:
load('v_wt_s.mat')
v_wt_s=v_wt_s-273.15;
v_wt_s.TimeInfo.Units = 'hours';
v_wt_s.TimeInfo.Format = 'HH';
plot(v_wt_s)
title('Vorlauf WT-S TTR20-004')
xlabel('Hours')
ylabel('Temperature [°C]')
load('v_wt_s.mat')
I would like to display the hours on the x-axis but what i get is the following:

The scale on the x-axis is still showing the seconds and not the hours.
Does anyone know how to solve this?
Thank you very much for your answers.
4 Comments
VBBV
on 9 Dec 2021
attache your data
Silvan Zeyer
on 9 Dec 2021
Silvan Zeyer
on 10 Dec 2021
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!