How can I keep the date visible at the bottom of the graph?
Show older comments
So, I have been trying to figure out why the date at the bottom right of the graph keeps disappearing when I try to edit the X ticks and their labels. With the standard plot, the date is visible as shown:

But it disappears when I edit the ticks:
set(gca,'XTickLabel',xt) %xt is a cell array with the labels (empty cell for removing label)
set(gca,'XTick', xticks) %xticks is a double vector with the tick positions

It is really helpful to be kept there and I can't find out. Any ideas? Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Dates and Time 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!