필터 지우기
필터 지우기

Is it possible to lable xminortick

조회 수: 2 (최근 30일)
TingTing
TingTing 2016년 4월 11일
댓글: Walter Roberson 2016년 4월 11일
I am plotting some data and on the x-axis, it is the hours of the days. I would like to have major tick for the days and the minor tick for the hours. I was able to xminortick, but on those ticks I can not do any labelling. Any tips?

답변 (1개)

Jan
Jan 2016년 4월 11일
It is the nature of "minor ticks" to have no labels. What about using standard ticks for all values?
  댓글 수: 2
TingTing
TingTing 2016년 4월 11일
really? I just want to have 24 hours for a day... How can I use standard ticks?
Walter Roberson
Walter Roberson 2016년 4월 11일
Yes, really. If you want to label minor ticks then you need to text() the labels into place yourself (or find a graphics routine that will do it for you.)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by