Plot time data
Show older comments
I have time in a matrix and some data, how do I plot it..
a=['17:00';'17:30' ;'18:00'; '18:30' ;'19:00'];
b=[b=[2;4;5;3;1];
Error
plot(a,b)
Error using plot
Invalid first data argument
How can I plot it and show the time on Xaxis?
Accepted Answer
More Answers (0)
Categories
Find more on Grid Lines, Tick Values, and Labels 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!