How to change the label properties on geoxes?

조회 수: 15 (최근 30일)
Elliot Jenkins
Elliot Jenkins 2023년 2월 2일
편집: Voss 2023년 2월 2일
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.

채택된 답변

Voss
Voss 2023년 2월 2일
편집: Voss 2023년 2월 2일
ax = geoaxes();
ax.LongitudeLabel.String = 'Lon.';
ax.LatitudeLabel.String = 'Lat.';
ax.LongitudeLabel.FontSize = 20;
ax.LatitudeLabel.FontName = 'FixedWidth';

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by