How to leave out some xticklabels?

1 view (last 30 days)
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 Comment
dpb
dpb on 28 Nov 2016
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...

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 28 Nov 2016
Consider using Minor Ticks

More Answers (0)

Community Treasure Hunt

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

Start Hunting!