Borrar filtros
Borrar filtros

geobubble from MATRIX instead of EXCEL

1 visualización (últimos 30 días)
Tareq Rahmani
Tareq Rahmani el 30 de Mzo. de 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 ?

Respuestas (0)

Categorías

Más información sobre Import Data en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by