How I can fix the xlabel plot?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have this plot
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165325/image.jpeg)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165326/image.jpeg)
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
Réponse acceptée
the cyclist
le 30 Mai 2016
I can't say for sure without knowing the answer to Walter's question, but try this:
datetick('x','mmm','keepticks','keeplimits')
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!