|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
| 17 | + |
17 | 18 | _bone_data = {'red': ((0., 0., 0.),(1.0, 1.0, 1.0)), |
18 | 19 | 'green': ((0., 0., 0.),(1.0, 1.0, 1.0)), |
19 | 20 | 'blue': ((0., 0., 0.),(1.0, 1.0, 1.0))} |
|
338 | 339 | 'green': ((0., 0., 0.),(1.0, 1.0, 1.0)), |
339 | 340 | 'blue': ((0., 1., 1.),(1.0, 0.5, 0.5))} |
340 | 341 |
|
| 342 | +_spectral_data = {'red': [(0.0, 0.0, 0.0), (0.05, 0.4667, 0.4667), |
| 343 | + (0.10, 0.5333, 0.5333), (0.15, 0.0, 0.0), |
| 344 | + (0.20, 0.0, 0.0), (0.25, 0.0, 0.0), |
| 345 | + (0.30, 0.0, 0.0), (0.35, 0.0, 0.0), |
| 346 | + (0.40, 0.0, 0.0), (0.45, 0.0, 0.0), |
| 347 | + (0.50, 0.0, 0.0), (0.55, 0.0, 0.0), |
| 348 | + (0.60, 0.0, 0.0), (0.65, 0.7333, 0.7333), |
| 349 | + (0.70, 0.9333, 0.9333), (0.75, 1.0, 1.0), |
| 350 | + (0.80, 1.0, 1.0), (0.85, 1.0, 1.0), |
| 351 | + (0.90, 0.8667, 0.8667), (0.95, 0.80, 0.80), |
| 352 | + (1.0, 0.80, 0.80)], |
| 353 | + 'green': [(0.0, 0.0, 0.0), (0.05, 0.0, 0.0), |
| 354 | + (0.10, 0.0, 0.0), (0.15, 0.0, 0.0), |
| 355 | + (0.20, 0.0, 0.0), (0.25, 0.4667, 0.4667), |
| 356 | + (0.30, 0.6000, 0.6000), (0.35, 0.6667, 0.6667), |
| 357 | + (0.40, 0.6667, 0.6667), (0.45, 0.6000, 0.6000), |
| 358 | + (0.50, 0.7333, 0.7333), (0.55, 0.8667, 0.8667), |
| 359 | + (0.60, 1.0, 1.0), (0.65, 1.0, 1.0), |
| 360 | + (0.70, 0.9333, 0.9333), (0.75, 0.8000, 0.8000), |
| 361 | + (0.80, 0.6000, 0.6000), (0.85, 0.0, 0.0), |
| 362 | + (0.90, 0.0, 0.0), (0.95, 0.0, 0.0), |
| 363 | + (1.0, 0.80, 0.80)], |
| 364 | + 'blue': [(0.0, 0.0, 0.0), (0.05, 0.5333, 0.5333), |
| 365 | + (0.10, 0.6000, 0.6000), (0.15, 0.6667, 0.6667), |
| 366 | + (0.20, 0.8667, 0.8667), (0.25, 0.8667, 0.8667), |
| 367 | + (0.30, 0.8667, 0.8667), (0.35, 0.6667, 0.6667), |
| 368 | + (0.40, 0.5333, 0.5333), (0.45, 0.0, 0.0), |
| 369 | + (0.5, 0.0, 0.0), (0.55, 0.0, 0.0), |
| 370 | + (0.60, 0.0, 0.0), (0.65, 0.0, 0.0), |
| 371 | + (0.70, 0.0, 0.0), (0.75, 0.0, 0.0), |
| 372 | + (0.80, 0.0, 0.0), (0.85, 0.0, 0.0), |
| 373 | + (0.90, 0.0, 0.0), (0.95, 0.0, 0.0), |
| 374 | + (1.0, 0.80, 0.80)]} |
| 375 | + |
| 376 | + |
341 | 377 | autumn = colors.LinearSegmentedColormap('autumn', _autumn_data, LUTSIZE) |
342 | 378 | bone = colors.LinearSegmentedColormap('bone ', _bone_data, LUTSIZE) |
343 | 379 | cool = colors.LinearSegmentedColormap('cool', _cool_data, LUTSIZE) |
|
352 | 388 | spring = colors.LinearSegmentedColormap('spring', _spring_data, LUTSIZE) |
353 | 389 | summer = colors.LinearSegmentedColormap('summer', _summer_data, LUTSIZE) |
354 | 390 | winter = colors.LinearSegmentedColormap('winter', _winter_data, LUTSIZE) |
355 | | - |
| 391 | +spectral = colors.LinearSegmentedColormap('spectral', _spectral_data, LUTSIZE) |
356 | 392 |
|
357 | 393 |
|
358 | 394 |
|
|
370 | 406 | 'prism': _prism_data, |
371 | 407 | 'spring': _spring_data, |
372 | 408 | 'summer': _summer_data, |
373 | | - 'winter': _winter_data |
| 409 | + 'winter': _winter_data, |
| 410 | + 'spectral': _spectral_data |
374 | 411 | } |
375 | 412 |
|
376 | 413 | # 34 colormaps based on color specifications and designs |
|
0 commit comments