MATLAB: Remove or combine longitude and latitude axis label for geoscatter

axisgeoscatterlongitude

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.

Best Answer

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
Related Question