How do you remove tick labels from a geoaxes object?

21 ビュー (過去 30 日間)
Austin Burritt
Austin Burritt 2022 年 1 月 17 日
回答済み: Adam Danz 2022 年 1 月 17 日
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?

採用された回答

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

その他の回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by