Last change
on this file since 1115 was
705,
checked in by konrad, 7 years ago
|
Added an example of configuration file with colormaps
|
File size:
2.0 KB
|
Line | |
---|
1 | {
|
---|
2 | "_comment": "Example of the config file, none of the fields is required. Built-in 'meanings' are: adepth, depth, children, kind, time. Any additional custom properties can be used, as long as their values are given in [OFFSPRING] entries. 'Bias' changes the scale to non-linear one: values > 1 result in concave, while values < 1 in convex mapping of the values. 'Kind' is applicable only for the 'color' property and uses the 'colors_for_kinds' list instead of 'start', 'end' and 'bias' fields.",
|
---|
3 | "colors_of_kinds": ["red", "green", "blue", "magenta", "yellow", "cyan", "orange", "purple"],
|
---|
4 | "dots": {
|
---|
5 | "color": {
|
---|
6 | "meaning": "time",
|
---|
7 | "normalize_cmap": true,
|
---|
8 | "cmap": {"red": [[-400000, 0.0, 0.0],
|
---|
9 | [4000000, 0.0, 0.0],
|
---|
10 | [7000000, 0.8, 0.8],
|
---|
11 | [10000000, 1.0, 1.0],
|
---|
12 | [27000000, 0.5, 0.5]],
|
---|
13 |
|
---|
14 | "green": [[-400000, 0.0, 0.0],
|
---|
15 | [4000000, 0.0, 0.0],
|
---|
16 | [7000000, 0.9, 0.9],
|
---|
17 | [15000000, 0.0, 0.0],
|
---|
18 | [27000000, 0.0, 0.0]],
|
---|
19 |
|
---|
20 | "blue": [[-400000, 0.0, 0.4],
|
---|
21 | [4000000, 1.0, 1.0],
|
---|
22 | [7000000, 0.8, 0.8],
|
---|
23 | [8000000, 0.0, 0.0],
|
---|
24 | [27000000, 0.0, 0.0]]
|
---|
25 | },
|
---|
26 | "bias": 1
|
---|
27 | },
|
---|
28 | "size": {
|
---|
29 | "meaning": "depth",
|
---|
30 | "start": 2,
|
---|
31 | "end": 5,
|
---|
32 | "bias": 1
|
---|
33 | },
|
---|
34 | "opacity": {
|
---|
35 | "meaning": "children",
|
---|
36 | "start": 0.3,
|
---|
37 | "end": 1,
|
---|
38 | "bias": 1
|
---|
39 | }
|
---|
40 | },
|
---|
41 | "lines": {
|
---|
42 | "color": {
|
---|
43 | "meaning": "adepth",
|
---|
44 | "normalize_cmap": false,
|
---|
45 | "cmap": {"red": [[0.0, 0.0, 0.0],
|
---|
46 | [0.1, 0.8, 0.8],
|
---|
47 | [0.75, 1.0, 1.0],
|
---|
48 | [1.0, 0.5, 0.5]],
|
---|
49 |
|
---|
50 | "green": [[0.0, 0.0, 0.0],
|
---|
51 | [0.5, 0.9, 0.9],
|
---|
52 | [0.6, 0.0, 0.0],
|
---|
53 | [1.0, 0.0, 0.0]],
|
---|
54 |
|
---|
55 | "blue": [[0.0, 0.0, 0.4],
|
---|
56 | [0.1, 0.8, 0.8],
|
---|
57 | [0.4, 0.0, 0.0],
|
---|
58 | [1.0, 0.0, 0.0]]
|
---|
59 | },
|
---|
60 | "bias": 3
|
---|
61 | },
|
---|
62 | "width": {
|
---|
63 | "meaning": "adepth",
|
---|
64 | "start": 1,
|
---|
65 | "end": 4,
|
---|
66 | "bias": 3
|
---|
67 | },
|
---|
68 | "opacity": {
|
---|
69 | "meaning": "adepth",
|
---|
70 | "start": 0.1,
|
---|
71 | "end": 0.8,
|
---|
72 | "bias": 5
|
---|
73 | }
|
---|
74 | }
|
---|
75 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.