Skip to content

Commit 815f618

Browse files
author
Stefan Fenn
committed
add and updated some gradients
1 parent 0cf5987 commit 815f618

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

graphplot.js

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,13 @@ export function getGradientVector(colorMapIndex, levels) {
184184
1.0: "rgb(34, 206, 222)"
185185
};
186186
const gradientColors3 = {
187-
0.0: "rgb(51, 0, 102)",
188-
0.5: "rgb(0, 0, 128)",
189-
1.0: "rgb(204, 255, 255)"
187+
0.0: "rgb(0, 0, 0)",
188+
0.5: "#0081a8",
189+
1.0: "rgb(255, 255, 255)"
190190
};
191191
const gradientColors4 = {
192-
0.0: "rgb(102, 0, 0)",
193-
0.5: "rgb(102, 0, 0)",
194-
1.0: "rgb(255, 102, 0)"
192+
0.0: "#0055e4",
193+
1.0: "#c70000"
195194
};
196195
const gradientColors5 = {
197196
0.0: "rgb(0, 0, 0)",
@@ -236,20 +235,22 @@ export function getGradientVector(colorMapIndex, levels) {
236235
1.0: "rgb(255, 255, 255)"
237236
};
238237
const gradientColors6 = {
239-
0.0: "rgb(120, 28, 23)",
238+
0.0: "#c70000",
240239
0.5: "rgb(224, 137, 0)",
241240
1.0: "rgb(224, 206, 0)"
242241
};
243242
const gradientColors7 = {
244-
0.0: "rgb(55, 14, 77)",
245-
0.5: "rgb(128, 9, 14)",
246-
1.0: "rgb(115, 143, 79)"
243+
0.0: 'rgb(0, 0, 0)',
244+
0.6: 'rgb(24, 53, 103)',
245+
0.75: 'rgb(46, 100, 158)',
246+
0.9: 'rgb(23, 173, 203)',
247+
1.0: 'rgb(0, 250, 250)'
247248
};
248249
const gradientColors8 = {
249-
0.0: "rgb(109, 79, 143)",
250-
0.33: "rgb(143, 79, 79)",
251-
0.66: "rgb(122, 76, 47)",
252-
1.0: "rgb(142, 143, 79)"
250+
0: '#000',
251+
0.33: '#640901',
252+
0.66: '#f6eb36',
253+
1: '#ffffff'
253254
};
254255
const gradientColors9 = {
255256
0:'#ff3800',

0 commit comments

Comments
 (0)