Latitude and Longitude are not shown complelety in geobubble !!

3 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});
%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 ?

Answers (1)

Reshma Nerella
Reshma Nerella on 16 Apr 2021
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!

Categories

Find more on Geographic Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!