do not figure out errors in xlim
Show older comments
z1=datenum(T.Date(1,:))
z2=datenum(T.Date(height(T.Date),:))
xlim([z1 z2])
Error using xlim (line 31)
Limits must be a 2-element vector of increasing datetime values
I am not sure of the error because z1 and z2 returns values and z1 <z2. Please advise.
2 Comments
Accepted Answer
More Answers (0)
Categories
Find more on Dates and Time in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!