is there a way to get the values associated with the *minor* tick marks?
2 views (last 30 days)
Show older comments
get(gca, 'xticks') only returns the major tick marks ...
Thanks! ~ Jos
0 Comments
Accepted Answer
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
2 Comments
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!