How do you remove tick labels from a geoaxes object?

31 visualizaciones (últimos 30 días)
Austin Burritt
Austin Burritt el 17 de En. de 2022
Respondida: Adam Danz el 17 de En. de 2022
I have a geoaxes object inside a rather small panel object, and the figure needs all the room it can get. Currently the tick labels are taking up precious space in the panel, making the figure smaller than I'd like it to be. Is there any way to remove these labels?

Respuesta aceptada

Adam Danz
Adam Danz el 17 de En. de 2022
gx = geoaxes();
gx.LatitudeAxis.TickLabels = {};
gx.LongitudeAxis.TickLabels = {};
If you want to remove the axis labels too,
% gx.LatitudeLabel.String = '';
% gx.LongitudeLabel.String = '';

Más respuestas (0)

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by