-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
polar_subplots.json
77 lines (76 loc) · 1.41 KB
/
polar_subplots.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
{
"data": [
{
"type": "scatterpolar",
"mode": "markers+lines+text",
"r": [1, 2, 3],
"theta": [0, 45, 180],
"text": ["A0", "B0", "C0"],
"hovertext": ["hover A0", "hover B0", "hover C0"],
"line": { "shape": "spline" },
"marker": { "symbol": "square", "size": 15 },
"textfont": {
"color": ["red", "green", "blue"],
"size": 20
},
"textposition": ["top left", "bottom right", "bottom right"]
},
{
"type": "scatterpolar",
"mode": "markers+lines+text",
"r": [1, 2, 3],
"theta": [-0, -45, -180],
"text": ["A1", "B1", "C1"],
"hovertext": ["hover A1", "hover B1", "hover C1"],
"line": { "shape": "spline" },
"marker": {
"symbol": "square",
"size": 15,
"color": [-1, 1, 2],
"showscale": true
},
"textfont": {
"color": "green",
"size": [20, 15, 10]
},
"textposition": "top left",
"subplot": "polar2"
}
],
"layout": {
"showlegend": false,
"polar": {
"domain": {
"x": [0, 0.44]
},
"radialaxis": {
"showgrid": false,
"title": {
"text": "1st subplot",
"font": {
"size": 20,
"color": "blue"
}
},
"angle": -45
}
},
"polar2": {
"domain": {
"x": [0.56, 1]
},
"radialaxis": {
"range": [0, 4.7],
"showgrid": false,
"title": {
"text": "2nd subplot",
"font": {
"size": 10,
"color": "orange"
}
},
"angle": 45
}
}
}
}