-
Notifications
You must be signed in to change notification settings - Fork 6
/
disp_colours_dark.gs~
executable file
·129 lines (126 loc) · 4.08 KB
/
disp_colours_dark.gs~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
* This script defines the colour palette for plotting either
* black and white or colour images, according to the argument
* Both palettes are yellow/blue shades, the only difference
* being that the "colour" palette increases in intensity more
* quickly. The default palette (in the case no argument is
* given) is black and white - RD January 2000.
function colours(arg)
imgtyp = subwrd(arg,1)
if (imgtyp = "")
imgtyp = "bw"
endif
if (imgtyp = "colour")
'set rgb 16 255 255 255'
'set rgb 17 255 255 255'
'set rgb 18 255 255 255'
'set rgb 19 255 255 255'
'set rgb 20 255 255 255'
'set rgb 21 255 255 255'
'set rgb 22 255 255 255'
'set rgb 23 255 255 255'
'set rgb 24 255 255 255'
'set rgb 25 255 255 255'
'set rgb 26 255 255 255'
'set rgb 27 255 255 255'
'set rgb 28 255 255 255'
'set rgb 29 255 255 255'
'set rgb 30 255 255 255'
'set rgb 31 255 255 255'
'set rgb 32 255 255 255'
'set rgb 33 255 255 255'
'set rgb 34 255 255 255'
# 'set rgb 35 170 255 255'
# 'set rgb 36 60 255 192'
# 'set rgb 37 0 255 96'
# 'set rgb 38 0 225 20'
# 'set rgb 39 0 165 0'
# 'set rgb 40 0 120 0'
'set rgb 35 200 255 255'
'set rgb 36 150 250 255'
'set rgb 37 100 200 255'
'set rgb 38 50 150 250'
'set rgb 39 0 100 200'
'set rgb 40 0 50 150'
# 'set rgb 41 255 255 255'
# 'set rgb 42 255 255 255'
'set rgb 41 0 0 0'
'set rgb 42 0 0 0'
'set rgb 43 120 0 0'
'set rgb 44 165 0 0'
'set rgb 45 225 20 0'
'set rgb 46 255 96 0'
'set rgb 47 255 192 60'
'set rgb 48 255 255 170'
'set rgb 49 255 255 255'
'set rgb 50 255 255 255'
'set rgb 51 255 255 255'
'set rgb 52 255 255 255'
'set rgb 53 255 255 255'
'set rgb 54 255 255 255'
'set rgb 55 255 255 255'
'set rgb 56 255 255 255'
'set rgb 57 255 255 255'
'set rgb 58 255 255 255'
'set rgb 59 255 255 255'
'set rgb 60 255 255 255'
'set rgb 61 255 255 255'
'set rgb 62 255 255 255'
'set rgb 63 255 255 255'
'set rgb 64 255 255 255'
'set rgb 65 255 255 255'
'set rgb 66 255 255 255'
'set rgb 67 255 255 255'
else
'set rgb 16 255 255 255'
'set rgb 17 255 255 255'
'set rgb 18 255 255 255'
'set rgb 19 255 255 255'
'set rgb 20 255 255 255'
'set rgb 21 255 255 255'
'set rgb 22 255 255 255'
'set rgb 23 255 255 255'
'set rgb 24 255 255 255'
'set rgb 25 255 255 255'
'set rgb 26 255 255 255'
'set rgb 27 255 255 255'
'set rgb 28 255 255 255'
'set rgb 29 255 255 255'
'set rgb 30 255 255 255'
'set rgb 31 255 255 255'
'set rgb 32 255 255 255'
'set rgb 33 255 255 255'
'set rgb 34 255 255 255'
'set rgb 35 240 240 0'
'set rgb 36 200 200 0'
'set rgb 37 160 160 0'
'set rgb 38 120 120 0'
'set rgb 39 80 80 0'
'set rgb 40 40 40 0'
'set rgb 41 0 0 0'
'set rgb 42 0 0 0'
'set rgb 43 0 40 40'
'set rgb 44 0 80 80'
'set rgb 45 0 120 120'
'set rgb 46 0 160 160'
'set rgb 47 0 200 200'
'set rgb 48 0 240 240'
'set rgb 49 255 255 255'
'set rgb 50 255 255 255'
'set rgb 51 255 255 255'
'set rgb 52 255 255 255'
'set rgb 53 255 255 255'
'set rgb 54 255 255 255'
'set rgb 55 255 255 255'
'set rgb 56 255 255 255'
'set rgb 57 255 255 255'
'set rgb 58 255 255 255'
'set rgb 59 255 255 255'
'set rgb 60 255 255 255'
'set rgb 61 255 255 255'
'set rgb 62 255 255 255'
'set rgb 63 255 255 255'
'set rgb 64 255 255 255'
'set rgb 65 255 255 255'
'set rgb 66 255 255 255'
'set rgb 67 255 255 255'
endif