Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
if(~isdeployed)
cd(fileparts(which(mfilename)));
end
DataPath = '.\';
AvailableFiles = dir((fullfile(DataPath, '*.fig'))); % list available data files
for idx = 1:24
tic % Initializing the Counting of the Time that takes for the program to run
OpenFileName = AvailableFiles(idx).name; % Assigning the filename that we are going to read the data
fig = openfig(OpenFileName); % Opening the file
Ozone = fig.Children.Children.ZData; % Assigning Z data
X = double(fig.Children.Children.XData); % Assigning X data
Y = double(fig.Children.Children.YData); % Assigning Y data
worldmap('Europe'); % set the part of the earth to show
load coastlines % loading the coastlines
plotm(coastlat,coastlon)
surfm(Y,X,Ozone)
setm(gca,"mapprojection","eqdcylin")
land = shaperead('landareas', 'UseGeoCoords', true); % assigning lands
geoshow(gca, land, 'FaceColor', [0.5 0.7 0.5])
lakes = shaperead('worldlakes', 'UseGeoCoords', true); % assigning lakes
geoshow(lakes, 'FaceColor', 'blue')
rivers = shaperead('worldrivers', 'UseGeoCoords', true); % assigning rivers
geoshow(rivers, 'Color', 'blue')
cities = shaperead('worldcities', 'UseGeoCoords', true); % assigning cities
geoshow(cities, 'Marker', '.', 'Color', 'red')
% sets the visibility of the various parts of the
% plot so the land, cities etc shows through.
Plots = findobj(gca,'Type','Axes');
Plots.SortMethod = 'depth';
end