geobubble from MATRIX instead of EXCEL

4 vues (au cours des 30 derniers jours)
Tareq Rahmani
Tareq Rahmani le 30 Mar 2020
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 ?

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by