Is there a way to remove individual tick labels
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mttxc12
le 28 Jan 2016
Réponse apportée : Walter Roberson
le 28 Jan 2016
II would like to remove the top right y-axis tick label (but not all the tick labels).
Is there a way to do this?
0 commentaires
Réponse acceptée
Walter Roberson
le 28 Jan 2016
ax = gca; %or as appropriate
yticklabels = get(ax, 'YTickLabel');
yticklabels{end} = ''; %needs to exist but make it empty
set(ax, 'YTickLabel', yticklabels);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Axis Labels 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!