-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_fa.py
13 lines (11 loc) · 1.77 KB
/
test_fa.py
1
2
3
4
5
6
7
8
9
10
11
12
13
import vcs
fa = vcs.createfillarea()
fa.style = ['pattern', 'pattern', 'pattern', 'pattern', 'pattern', 'pattern', 'pattern', 'pattern', 'pattern', 'pattern']
fa.index = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
fa.color = [20, 40, 60, 80, 100, 120, 140, 160, 180, 200]
fa.opacity = [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
fa.x = [[0.0500000007451, 0.13999999947849, 0.13999999947849, 0.0500000007451], [0.13999999947849, 0.22999999821188, 0.22999999821188, 0.13999999947849], [0.22999999821188, 0.31999999694527004, 0.31999999694527004, 0.22999999821188], [0.31999999694527004, 0.40999999567865997, 0.40999999567865997, 0.31999999694527004], [0.40999999567865997, 0.49999999441205, 0.49999999441205, 0.40999999567865997], [0.49999999441205, 0.58999999314544, 0.58999999314544, 0.49999999441205], [0.58999999314544, 0.67999999187883, 0.67999999187883, 0.58999999314544], [0.67999999187883, 0.76999999061222, 0.76999999061222, 0.67999999187883], [0.76999999061222, 0.8599999893456101, 0.8599999893456101, 0.76999999061222], [0.8599999893456101, 0.949999988079, 0.949999988079, 0.8599999893456101]]
fa.y = [[0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424], [0.129999995232, 0.129999995232, 0.159999996424, 0.159999996424]]
x = vcs.init()
x.plot(fa)
raw_input("Enter")