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