Skip to content
Permalink
Browse files
Version6.2
Added on pause command to make it iterate through the hours
  • Loading branch information
bibif5 committed Aug 2, 2020
1 parent e4a3131 commit 79d02dda23a290ec6c052f11c9db51aafc7b906a
Showing 1 changed file with 5 additions and 1 deletion.
@@ -1,3 +1,7 @@
clear all
close all
clc

%Reading the .nc file
FileNC = 'o3_surface_20180701000000.nc' ;

@@ -75,6 +79,7 @@ if (option == 'a' || option == 'A') % this figure will display if a is selected
colormap default; % Normal vision mode
colorbar % Displaying colour bar
title(sprintf("Standard View: Hour " + i + "\n" )); % title (displays hour and the type of view)
pause(0.1); % time for each hour - pauses for 1 second
end

% Monochromacy: Ozone Overlay
@@ -88,4 +93,3 @@ else
disp('Sorry that is not an option from above! Please run the program again')

end

0 comments on commit 79d02dd

Please sign in to comment.