Is there a way to remove individual tick labels
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
mttxc12
am 28 Jan. 2016
Beantwortet: Walter Roberson
am 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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!