Is there a way to remove individual tick labels
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
mttxc12
el 28 de En. de 2016
Respondida: Walter Roberson
el 28 de En. de 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 comentarios
Respuesta aceptada
Walter Roberson
el 28 de En. de 2016
ax = gca; %or as appropriate
yticklabels = get(ax, 'YTickLabel');
yticklabels{end} = ''; %needs to exist but make it empty
set(ax, 'YTickLabel', yticklabels);
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Grid Lines, Tick Values, and Labels en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!