Is it possible to lable xminortick
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Jan
2016-4-11
It is the nature of "minor ticks" to have no labels. What about using standard ticks for all values?
2 个评论
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.)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!