How to leave out some xticklabels?

1 回表示 (過去 30 日間)
Mr M.
Mr M. 2016 年 11 月 28 日
回答済み: Walter Roberson 2016 年 11 月 28 日
I want to use dense xticks, but I want to use only every second labels. I know I can define labels like {'0','','1','','2',etc.}, but is it possible to set it automaticcaly insted of setting by hand?
  1 件のコメント
dpb
dpb 2016 年 11 月 28 日
I don't think there's a specific property value that will simulate that but don't have HG2; check out the new ruler object's detailed properties to see what you can manage; it's got some new useful features such as a format field string, for example...

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2016 年 11 月 28 日
Consider using Minor Ticks

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by