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 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/286136-how-i-can-fix-the-xlabel-plot#comment_369281
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/286136-how-i-can-fix-the-xlabel-plot#comment_369281
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/286136-how-i-can-fix-the-xlabel-plot#comment_369726
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/286136-how-i-can-fix-the-xlabel-plot#comment_369726
Sign in to comment.