Menu

[r2941]: / trunk / htdocs / examples / fill_demo2.py  Maximize  Restore  History

Download this file

11 lines (9 with data), 216 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from pylab import subplot, sin, pi, arange, setp, show
ax = subplot(111)
t = arange(0.0,3.0,0.01)
s = sin(2*pi*t)
c = sin(4*pi*t)
p = ax.fill(t,s,'b',t,c,'g')
setp(p, alpha=0.2)
ax.vlines( [1.5], -1.0, 1.0 )
show()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.