MATLAB Answers

Latitude and Longitude are not shown complelety in geobubble !!

조회 수: 1(최근 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});
%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!

Community Treasure Hunt

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

Start Hunting!

Translated by