How can I keep the date visible at the bottom of the graph?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Dates and Time dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!