-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
gl3d_scatter3d_errorbars_inherit_color.json
78 lines (78 loc) · 1.26 KB
/
gl3d_scatter3d_errorbars_inherit_color.json
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
{
"data": [
{
"x": [0, 1, 2, 3, 4],
"y": [-5, -10, -30, -35, -5],
"z": [0, 0, 0, 0, 0],
"type": "scatter3d",
"mode": "markers+lines",
"error_y": {
"type": "sqrt"
}
},
{
"x": [0, 1, 2, 3, 4],
"y": [-5, -10, -30, -35, -5],
"z": [1, 1, 1, 1, 1],
"type": "scatter3d",
"mode": "markers+lines",
"marker": {
"line": {
"width": 2,
"color": "gray"
}
},
"error_y": {
"type": "sqrt"
}
},
{
"x": [0, 1, 2, 3, 4],
"y": [-5, -10, -30, -35, -5],
"z": [2, 2, 2, 2, 2],
"type": "scatter3d",
"mode": "markers+lines",
"marker": {
"color": "red"
},
"error_y": {
"type": "sqrt"
}
},
{
"x": [0, 1, 2, 3, 4],
"y": [-5, -10, -30, -35, -5],
"z": [3, 3, 3, 3, 3],
"type": "scatter3d",
"mode": "markers+lines",
"line": {
"color": "green"
},
"error_y": {
"type": "sqrt"
}
},
{
"x": [0, 1, 2, 3, 4],
"y": [-5, -10, -30, -35, -5],
"z": [4, 4, 4, 4, 4],
"type": "scatter3d",
"mode": "markers+lines",
"line": {
"color": "blue"
},
"marker": {
"color": "black"
},
"error_y": {
"type": "sqrt"
}
}
],
"layout": {
"width": 600,
"title": {
"text": "Scatter3d error bars inherit color from line or marker"
}
}
}