Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > dc303dcad9fdd039290b4e78a58ed938 > files > 647

python-matplotlib-0.99.1.2-4.fc13.i686.rpm

#!/usr/bin/env python

"""
You can precisely specify dashes with an on/off ink rect sequence in
points.
"""
from pylab import *

dashes = [5,2,10,5] # 5 points on, 2 off, 3 on, 1 off

l, = plot(arange(20), '--')
l.set_dashes(dashes)

show()