Latitude and Longitude are not shown complelety in geobubble !!

2 views (last 30 days)
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});
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.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 ?

Answers (1)

Reshma Nerella
Reshma Nerella on 16 Apr 2021
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.
gx = geoaxes;
b = bubblechart(gx,tsunamis.Latitude,tsunamis.Longitude,tsunamis.MaxHeight);
You can use the datatiptextrow to specify the format for the latitude and longitude values.
Hope this helps!

Community Treasure Hunt

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

Start Hunting!