is there a way to get the values associated with the *minor* tick marks?

2 views (last 30 days)
get(gca, 'xticks') only returns the major tick marks ...
Thanks! ~ Jos

Accepted Answer

Ameer Hamza
Ameer Hamza on 26 Jun 2018
Edited: Ameer Hamza on 26 Jun 2018
ax = gca;
get(ax.XAxis, 'MinorTickValues')
For R2014b and later, following also work
ax = gca;
ax.XAxis.MinorTickValues

More Answers (0)

Community Treasure Hunt

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

Start Hunting!