Plot severity colour on bubble map by datetime
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Peter Perkins
2020-11-18
I would think you'd want to convert the datetimes into something numeric or categorical, based on their years or months or whatever.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!