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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 7월 7일

편집:

2020년 7월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by