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

2 vues (au cours des 30 derniers jours)
Jos (10584)
Jos (10584) le 26 Juin 2018
Commenté : Ameer Hamza le 27 Juin 2018
get(gca, 'xticks') only returns the major tick marks ...
Thanks! ~ Jos

Réponse acceptée

Ameer Hamza
Ameer Hamza le 26 Juin 2018
Modifié(e) : Ameer Hamza le 26 Juin 2018
ax = gca;
get(ax.XAxis, 'MinorTickValues')
For R2014b and later, following also work
ax = gca;
ax.XAxis.MinorTickValues
  2 commentaires
Jos (10584)
Jos (10584) le 26 Juin 2018
Thanks! Completely overlooked that :|
Ameer Hamza
Ameer Hamza le 27 Juin 2018
You are welcome.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by