Logo Search packages:      
Sourcecode: matplotlib version File versions

ginput_demo.py

from pylab import arange, plot, sin, ginput, show
t = arange(10)
plot(t, sin(t))
print "Please click"
x = ginput(3)
print "clicked",x
show()

Generated by  Doxygen 1.6.0   Back to index