From 7924ff59ea39715053504ee05e961d2d698c566e Mon Sep 17 00:00:00 2001 From: Adrian Date: Wed, 5 Aug 2020 17:33:00 +0300 Subject: [PATCH] overlay data to map --- Visualisation.m | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Visualisation.m b/Visualisation.m index 86348c5..4c9930d 100644 --- a/Visualisation.m +++ b/Visualisation.m @@ -77,3 +77,20 @@ end clc + +disp('The map in the figure will load shortly ..') +for k = 1 : length(h) + clf; + matrix = pcolor(X,Y,ozoneChoice(:,:,k)'); + matrix.EdgeAlpha = 0; + matrix.FaceAlpha = 0.8; + load coast + cities = shaperead('worldcities', 'UseGeoCoords', true); + bar = colorbar; + bar.Label.String = 'Ozone Level'; + geoshow(cities, 'Marker', '+', 'Color', 'red') + hold on; + plot(long,lat,'k') + title(sprintf('Ensemble Data on Europe')) + pause(0.3) +end