how to tick out several types in one graph

1 view (last 30 days)
Hi
I have histogram plot(x=time, y=numbers) Does anyone knows tick each year, major tick each 5 yrs , large tick 10 yrs.
And displaying each 5 years. Such as (1970,1975,1980,...)
Thank you for your help guys!

Accepted Answer

Adam
Adam on 23 Feb 2017
doc XTick
doc XTickLabel

More Answers (0)

Community Treasure Hunt

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

Start Hunting!