is there a way to get the values associated with the *minor* tick marks?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jos (10584)
le 26 Juin 2018
Commenté : Ameer Hamza
le 27 Juin 2018
get(gca, 'xticks') only returns the major tick marks ...
Thanks! ~ Jos
0 commentaires
Réponse acceptée
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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!