Latitude and Longitude are not shown complelety in geobubble !!

4 ビュー (過去 30 日間)
Tareq Rahmani
Tareq Rahmani 2021 年 3 月 29 日
回答済み: Reshma Nerella 2021 年 4 月 16 日
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 ?

回答 (1 件)

Reshma Nerella
Reshma Nerella 2021 年 4 月 16 日
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!


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!

Translated by