This code receives and processes data from the HDX and creates a geobubble and graphical plot of the spread of the COVID-19 virus. The plots are updated for each date and used to generate movie displaying the spread of the virus across the globe.
A plot (with the top 10 cases by countries) can be displayed next to the geobubble by setting 'live_plot_enabled' to 1. This can be disabled by setting it to 0.
NOTE: Compatibility issues have been fixed. Please let me know if you find otherwise.
Joshua McGee (2020). COVID-19 World Spread Animation (https://www.mathworks.com/matlabcentral/fileexchange/74718-covid-19-world-spread-animation), MATLAB Central File Exchange. Retrieved .
Hi saeed, just switch 'streets' to any of the inputs that you listed like 'darkwater' or 'grayland'.
Hi, it doesn't work in 2018b. please help.
Error using livemapcovid19 (line 111)
Expected Basemap to match one of these values:
'darkwater', 'grayland', 'bluegreen', 'grayterrain', 'colorterrain', 'landcover', 'none'
The input, 'streets', did not match any of the valid values.
I’m working on a fix.
Hi Roberto what is your MATLAB version? Josh
Error using livemapcovid19 (line 44)
'01_22_20' is not a valid variable name.
you are amazing
-updated image and files
-compatibility and bug fixes
-added new category (100,000+)
-speed and formatting
-added ability to disable plot (live_plot_enabled)
Inspired by: tight_subplot(Nh, Nw, gap, marg_h, marg_w)