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.
JM2 (2021). COVID-19 World Spread Animation (https://www.mathworks.com/matlabcentral/fileexchange/74718-covid-19-world-spread-animation), MATLAB Central File Exchange. Retrieved .
It shows the following error in my R2020a
Error: File: tight_subplot.m Line: 65 Column: 1
The function "untitled3" was closed with an 'end', but at least one other function definition was not.
To avoid confusion when using nested functions, it is illegal to use both conventions in the same file.
Error in livemapcovid19 (line 95)
[ha, pos] = tight_subplot(1,2,.15,.1,.05);
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
Inspired by: tight_subplot(Nh, Nw, gap, marg_h, marg_w)
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!