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

カテゴリ

製品

リリース

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