geobubble from MATRIX instead of EXCEL
2 views (last 30 days)
Show older comments
I have this code.
I want to read data from a matrix instead of file AAAA.xlsx.
MATRIX A = [1233 ASDAS 3141
12455 SDR 5544
etc....]
function UserDispersionButtonPushed(app, event)
tsunamis = readtable('AAAA.xlsx');
colordata = categorical(tsunamis.cause);
%geobasemap('colorterrain');
gb = geobubble(app.UserFlowPanel,tsunamis.lat,tsunamis.lon,tsunamis.count,colordata,'Basemap','colorterrain','Title','User Flow');% gb = geobubble(app.UserFlowPanel,tsunamis.lat,tsunamis.lon,tsunamis.count,colordata,'Title','User Flow')
gb.SizeLegendTitle = 'Count';
gb.ColorLegendTitle = 'cause';
%geobasemap('colorterrain');
end
How can I do ?
0 Comments
Answers (0)
See Also
Categories
Find more on Import Data 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!