geobubble from MATRIX instead of EXCEL
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!