Remove or combine longitude and latitude axis label for geoscatter
6 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Mehmed Saad
2020-5-4
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
1 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geographic Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!