Skip to content
Permalink
Browse files
Added the colorblind functionality
  • Loading branch information
olteanua committed Aug 10, 2020
1 parent 326c9ec commit 41f64f9693bf6c4eb9c2d32525e10c3e55a2db9f
Showing 1 changed file with 15 additions and 1 deletion.
@@ -3,7 +3,21 @@ file_nc = 'o3_surface_20180701000000.nc';
clc;

disp('This software allows user to look over an European Map and analyse the ozone layer.')
disp('Colorblind supported')
disp('Colorblind support:')
disp('If you are having problems with color please choose one of the options: 1.Deuteranopia, 2.Tritanopia, 3.Protanopia, 0. For none')
colorcorrection = input('Enter: ')

%%Colour the map with the user input
if colorcorrection == 0
colormap default
elseif colorcorrection == 1
colormap winter
elseif colorcorrection == 2
colormap autumn
elseif colorcorrection == 3
colormap spring
end
clc
%%Option for user to choose which model to see
disp('Choose a model you wish to see : 1. Mocage map model, 2. Eurad map model, 3. Match map model, 4. Emep map model, 5. Silam map model, 6. Ensemble map model, 7. Chimere map model, 8. Lotoseuros map model')
userInput = input('Choose one of the available models: ')

0 comments on commit 41f64f9

Please sign in to comment.