Latitude and Longitude are not shown complelety in geobubble !!

2 次查看(过去 30 天)
Hi Gents
WHen I run geobubble like below
SITEPOSITIONDensity = readtable('F:\SITES_.xlsb');
G = groupsummary(SITEPOSITIONDensity,{'LAT','LON','NE_NAME'}); % var2 var3 GroupCount
colordata = categorical(G{:,3});
%geobasemap('colorterrain');
gb = geobubble(G{1:2,1},G{1:2,2},G{1:2,4},'Basemap','streets','Title','Radio Modus MAP Per Site');% gb = geobubble(app.UserFlowPanel,tsunamis.lat,tsunamis.lon,tsunamis.count,colordata,'Title','User Flow')
it shows me :
while the real LATITUDE and LONGITUDE is this : so , why geobubble is rounding values and not giving real values ? how can I avoid this ?

回答(1 个)

Reshma Nerella
Reshma Nerella 2021-4-16
Hi,
The datatips for geobubble chart can not be customized ,so we can not modify the data tip to display the entire value.
Instead you can try it out this way:
R2020b introduced bubblechart which works with geographic plots.
figure
gx = geoaxes;
b = bubblechart(gx,tsunamis.Latitude,tsunamis.Longitude,tsunamis.MaxHeight);
bubblelegend('Location','northeastoutside');
You can use the datatiptextrow to specify the format for the latitude and longitude values.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Geographic Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by