Plot severity colour on bubble map by datetime
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello !
I'm building a bubble map that shows the number of bottles by size bubble in the specified BUT i'm trying to do the severity not by the number of bottles, but the DATE they were there. So, for now I did this and it works perfectly.
Geobasemap
geolimits([48.50 53.00],[-5.70 6.00])
otrivin=readtable('Otrivinlocation.xlsx');
figure
gb=geobubble(otrivin,'LATITUDE','LONGITUDE',...
'SizeVariable','NBBOTTLES');
head(gb.SourceTable, 7)
gb.SourceTable.Severity=discretize(otrivin.NBBOTTLES,[1 5 10 20 50 100 500],...
'categorical', {'low','many',,'Abundant','High','Extreme'});
gb.ColorVariable='Severity';
But what I try to do now is instead of discretize the nb of bottles, I wanna have the Datetime, so by the colourvariable I will be able to see when they were found (they have been placed at certain location at different dates).
Thanks for the help !!! :)
0 comentarios
Respuestas (1)
Peter Perkins
el 18 de Nov. de 2020
I would think you'd want to convert the datetimes into something numeric or categorical, based on their years or months or whatever.
0 comentarios
Ver también
Categorías
Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!