Remove or combine longitude and latitude axis label for geoscatter

13 ビュー (過去 30 日間)
Lieke de Mare
Lieke de Mare 2020 年 5 月 4 日
コメント済み: MaHa 2021 年 6 月 24 日
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.

採用された回答

Mehmed Saad
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 件のコメント
MaHa
MaHa 2021 年 6 月 24 日
How would you remove the 45°N/0°/45°S from the bottom right panel please ?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by