How can I keep the date visible at the bottom of the graph?
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Dates and Time in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!