comparison Color.m @ 458:283bdea202d2

Add notability colors to the Color class
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Jun 2017 09:41:03 +0200
parents 51d818bc8915
children ff745028d6bd
comparison
equal deleted inserted replaced
455:cd571e8ec1fd 458:283bdea202d2
8 lightblue = [0.301 0.745 0.933]; 8 lightblue = [0.301 0.745 0.933];
9 darkred = [0.635 0.078 0.184]; 9 darkred = [0.635 0.078 0.184];
10 black = [0.000 0.000 0.000]; 10 black = [0.000 0.000 0.000];
11 white = [1.000 1.000 1.000]; 11 white = [1.000 1.000 1.000];
12 colors = { Color.blue, Color.red, Color.yellow, Color.green, Color.purple, Color.lightblue, Color.darkred, Color.black, Color.white}; 12 colors = { Color.blue, Color.red, Color.yellow, Color.green, Color.purple, Color.lightblue, Color.darkred, Color.black, Color.white};
13
14 notabilityYellow = [100.0 99.0 22.0 ]/100;
15 notabilityOrange = [97.0 61.0 15.0 ]/100;
16 notabilityRed = [92.0 22.0 18.0 ]/100;
17
18 notabilityLightGreen = [67.0 99.0 22.0 ]/100;
19 notabilityGreen = [39.0 72.0 30.0 ]/100;
20 notabilityDarkGreen = [5.0 45.0 24.0 ]/100;
21
22 notabilityLightBlue = [8.0 45.0 98.0 ]/100;
23 notabilityBlue = [11.0 30.0 69.0 ]/100;
24 notabilityDarkBlue = [7.0 5.0 46.0 ]/100;
25
26 notabilityPink = [99.0 13.0 82.0 ]/100;
27 notabilityPurple = [64.0 11.0 77.0 ]/100;
28 notabilityDarkPurple = [38.0 19.0 56.0 ]/100;
29
30 notabilityBrown = [58.0 40.0 22.0 ]/100;
31 notabilityGrey = [59.0 59.0 59.0 ]/100;
32 notabilityBlack = [0.0 0.0 0.0 ]/100;
13 end 33 end
14 34
15 methods(Static) 35 methods(Static)
16 function sample() 36 function sample()
17 markers ={'+', 'o', '*', '.', 'x', 'square', 'diamond', 'v', '^', '>', '<', 'pentagram', 'hexagram'}; 37 markers ={'+', 'o', '*', '.', 'x', 'square', 'diamond', 'v', '^', '>', '<', 'pentagram', 'hexagram'};