Skip to content

Commit 1734e30

Browse files
Test of nonlinear interpolation
4 contour plots of a sparsely sampled cone with x/y chosen so the plot contours appear the same.
1 parent c35da03 commit 1734e30

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"data": [
3+
{
4+
"x": [1,2,3,4,5],
5+
"y": [1,2,3,4,5],
6+
"z": [
7+
[0 , 3.1250, 12.5000, 28.1250, 50.0000],
8+
[3.1250, 6.2500, 15.6250, 31.2500, 53.1250],
9+
[12.5000, 15.6250, 25.0000, 40.6250, 62.5000],
10+
[28.1250, 31.2500, 40.6250, 56.2500, 78.1250],
11+
[50.0000, 53.1250, 62.5000, 78.1250, 100.0000]
12+
],
13+
"contours": {"start": 10, "end": 90, "size": 10},
14+
"type": "contour"
15+
},
16+
{
17+
"x": [1,2,4,8,16],
18+
"y": [1,2,3,4,5],
19+
"z": [
20+
[0 , 3.1250, 12.5000, 28.1250, 50.0000],
21+
[3.1250, 6.2500, 15.6250, 31.2500, 53.1250],
22+
[12.5000, 15.6250, 25.0000, 40.6250, 62.5000],
23+
[28.1250, 31.2500, 40.6250, 56.2500, 78.1250],
24+
[50.0000, 53.1250, 62.5000, 78.1250, 100.0000]
25+
],
26+
"contours": {"start": 10, "end": 90, "size": 10},
27+
"type": "contour",
28+
"showscale": false,
29+
"xaxis": "x2"
30+
},
31+
{
32+
"x": [1,2,3,4,5],
33+
"y": [1,2,4,8,16],
34+
"z": [
35+
[0 , 3.1250, 12.5000, 28.1250, 50.0000],
36+
[3.1250, 6.2500, 15.6250, 31.2500, 53.1250],
37+
[12.5000, 15.6250, 25.0000, 40.6250, 62.5000],
38+
[28.1250, 31.2500, 40.6250, 56.2500, 78.1250],
39+
[50.0000, 53.1250, 62.5000, 78.1250, 100.0000]
40+
],
41+
"contours": {"start": 10, "end": 90, "size": 10},
42+
"type": "contour",
43+
"showscale": false,
44+
"yaxis": "y2"
45+
},
46+
{
47+
"x": [1,2,4,8,16],
48+
"y": [1,2,4,8,16],
49+
"z": [
50+
[0 , 3.1250, 12.5000, 28.1250, 50.0000],
51+
[3.1250, 6.2500, 15.6250, 31.2500, 53.1250],
52+
[12.5000, 15.6250, 25.0000, 40.6250, 62.5000],
53+
[28.1250, 31.2500, 40.6250, 56.2500, 78.1250],
54+
[50.0000, 53.1250, 62.5000, 78.1250, 100.0000]
55+
],
56+
"contours": {"start": 10, "end": 90, "size": 10},
57+
"type": "contour",
58+
"showscale": false,
59+
"xaxis": "x2",
60+
"yaxis": "y2"
61+
}
62+
],
63+
"layout": {
64+
"xaxis": {"domain": [0, 0.45]},
65+
"xaxis2": {"domain": [0.55, 1], "type": "log"},
66+
"yaxis": {"domain": [0, 0.45]},
67+
"yaxis2": {"domain": [0.55, 1], "type": "log"},
68+
"margin": {"l": 50, "b": 50, "r": 110, "t": 10},
69+
"width": 500,
70+
"height": 400
71+
}
72+
}

0 commit comments

Comments
 (0)