-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrefdata.py
70 lines (59 loc) · 1.56 KB
/
refdata.py
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
# Empty runs:
empty = [
[10,14,22,39,51,42,39,40,35,28,30,18,14],
[15,16,23,36,42,48,47,39,24,28,33,21,19],
[8,11,32,35,41,43,49,26,38,35,21,21,14],
#[21,29,53,55,58,98,87,95,92,72,47,38,24],
[10,19,24,27,37,41,41,43,50,36,24,24,6],
[10,12,25,30,43,36,47,47,34,44,21,22,11],
[25,15,23,33,46,52,35,38,42,27,26,18,7],
[10,12,33,32,43,40,37,47,42,33,24,21,17],
[14,16,28,30,33,42,39,42,45,35,24,20,11],
[17,17,22,30,37,61,44,42,44,23,12,21,14],
]
# Triangle:
triangle = [
[25,25,49,28,22,36,32,38,34,26,33,20,18],
[23,31,41,27,20,30,23,33,35,43,24,26,18],
[22,33,42,19,26,24,29,27,31,27,40,37,13],
[19,20,31,40,32,40,25,38,24,29,33,41,16],
[18,34,46,18,32,29,30,27,32,26,44,33,10],
[14,31,43,28,26,30,32,21,31,25,36,36,21],
[18,28,36,30,26,29,43,25,32,24,43,23,20],
]
# left angle
left = [
[39,34,59,39,72,43,29,22,11,7,4,5,5],
[40,44,61,57,68,47,16,20,10,9,4,8,6],
[35,40,71,43,69,36,31,15,7,6,6,6,5],
[32,27,60,46,60,41,22,10,7,6,5,6,6],
[37,30,57,48,77,32,21,12,8,9,7,2,4],
]
# right angle
right = [
[2,6,5,5,0,16,29,29,63,48,51,37,27],
[3,3,3,9,4,19,33,39,52,44,56,32,32],
[3,6,5,5,6,17,13,30,65,41,65,42,29],
[2,3,3,4,10,22,21,35,64,41,48,40,36],
[3,7,0,9,8,15,28,39,52,45,55,39,28],
]
# funnel
funnel = [
[1,1,2,5,23,74,49,50,30,10,2,0,0],
[0,1,1,12,24,70,52,54,25,10,4,1,0],
[0,1,2,12,36,75,47,63,30,11,3,0,0],
[1,1,7,13,35,71,43,56,37,15,6,0,0],
]
if __name__ == '__main__':
import pylab as pl
for e in empty:
pl.plot(e,'r')
#for e in triangle:
# pl.plot(e,'b')
#for e in funnel:
# pl.plot(e,'y')
for e in left:
pl.plot(e,'k')
for e in right:
pl.plot(e,'g')
pl.show()