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 Center および File ExchangeAxis Labels についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by