MATLAB Answers

How I can fix the xlabel plot?

1 view (last 30 days)
Rita on 27 May 2016
Commented: Rita on 30 May 2016
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
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.


Walter Roberson
Walter Roberson on 27 May 2016
Could you show us
Rita on 30 May 2016
Sorry Walter, I attached the plots .

Sign in to comment.

Accepted Answer

the cyclist
the cyclist on 30 May 2016
I can't say for sure without knowing the answer to Walter's question, but try this:

  1 Comment

Rita on 30 May 2016
Thanks The cyclist.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!