import an excelsheet in matlab with timestamp an plot
Ältere Kommentare anzeigen
Hello,
Can someone help me out with this. I have a excelsheet with irradiation data and the time measured in hh:MM
Can anyone help me to plot a barchart with this data, xas should consist of the time measured in hh:mm
I have attached the excelfile
Many thanks in advance
Antworten (1)
Cris LaPierre
am 11 Jan. 2021
0 Stimmen
There are a number of ways to import spreadsheets. You just need to pick one. I recommend readtable.
If you import the times as durations, you can just plot that as your x. It will appear as time on the x axis.
Once you have your x and y data, creating a bar plot is as simple as bar(x,y). See the documentation for syntax help and examples.
1 Kommentar
Indira ram
am 12 Jan. 2021
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!