How to change the label properties on geoxes?

12 views (last 30 days)
Hello,
I am simply trying to edit the font name and size of the axes of my geoscatter plot. xlabel and ylabel are not working.
How do I work around this? Thanks
Error using xlabel
Using xlabel with geoaxes is not supported.

Accepted Answer

Voss
Voss on 2 Feb 2023
Edited: Voss on 2 Feb 2023
ax = geoaxes();
ax.LongitudeLabel.String = 'Lon.';
ax.LatitudeLabel.String = 'Lat.';
ax.LongitudeLabel.FontSize = 20;
ax.LatitudeLabel.FontName = 'FixedWidth';

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!