Plot of a Time Variable
Show older comments
Hi,
so I have a variable that has the time of arrival of different messages from 00:00:00 to 23:59:59. What I want is to get a figure of bars where each bar has the messages from an Hour. There would be a total of 24 bars.
How could I do it?
4 Comments
Mathieu NOE
on 14 Oct 2021
hello
so you want to plot a histogram ?
Lei Hou
on 18 Oct 2021
Hi Vicente,
Are you looking for this?
>> bar(duration([1 2 3],0,0),[5 1 10])

Thanks,
Lei
flashpode
on 18 Oct 2021
flashpode
on 18 Oct 2021
Answers (1)
Categories
Find more on Annotations 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!