How to leave out some xticklabels?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Axis Labels 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by