Remove or combine longitude and latitude axis label for geoscatter

11 views (last 30 days)
The geoscatter function seems to show the longitude and latitude next to the axis by default, how do I remove these or combine these axis in a tiledlayout?
Above is what I have now.
I already tries linkaxis() and using gx.LongitudeLabel.FontSize = 0; but both did work.

Accepted Answer

Mehmed Saad
Mehmed Saad on 4 May 2020
lon = (-170:10:170);
lat = 50 * cosd(3*lon);
A = 101 + 100*(sind(2*lon));
C = cosd(4*lon);
% gx = geoaxes;
figure,
subplot(211)
gx(1)=geoscatter(lat,lon,A,C,'^');
subplot(223)
gx(2)=geoscatter(lat,lon,A,C,'^');
subplot(224)
gx(3)=geoscatter(lat,lon,A,C,'^');
for i=2:3
gx(i).Parent.LatitudeLabel.String = '';
gx(i).Parent.LongitudeLabel.String = '';
end

More Answers (0)

Categories

Find more on Geographic Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!