How to increase xticks and labels?

조회 수: 2 (최근 30일)
Saurav Karmakar
Saurav Karmakar 2020년 7월 7일
편집: jonas 2020년 7월 7일
How to increase x-ticks and x-ticks labels here?
  댓글 수: 2
jonas
jonas 2020년 7월 7일
what do you mean? Increase the number of ticks or their size?
Saurav Karmakar
Saurav Karmakar 2020년 7월 7일
Number of ticks

댓글을 달려면 로그인하십시오.

채택된 답변

jonas
jonas 2020년 7월 7일
편집: jonas 2020년 7월 7일
You can specify the xticks manually. For example:
ax = gca;
dist = days(10);
ax.XTick = date(1):dist:date(end)
You may want to change the format from MMM to something else though.
For example:
ax.XAxis.TickLabelFormat = 'MMM dd'

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by