How I can fix the xlabel plot?
Afficher commentaires plus anciens
I have this plot

and I would like the x-axis start at Jan and end in Jan (1 whole year)I have used this
datetick('x','mmm','keepticks')
but the plot changed to this

which y axis does not start from zero and x axis start from april instead of Jan. How I can fix this?
Thanks for any comment.
2 commentaires
Walter Roberson
le 27 Mai 2016
Could you show us
get(gca,'xtick')
?
Rita
le 30 Mai 2016
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects 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!