From: <jd...@us...> - 2008-02-05 21:52:14
|
Revision: 4942 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4942&view=rev Author: jdh2358 Date: 2008-02-05 13:52:04 -0800 (Tue, 05 Feb 2008) Log Message: ----------- added ginput example Modified Paths: -------------- trunk/matplotlib/CHANGELOG Added Paths: ----------- trunk/matplotlib/examples/ginput_demo.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008-02-05 21:50:58 UTC (rev 4941) +++ trunk/matplotlib/CHANGELOG 2008-02-05 21:52:04 UTC (rev 4942) @@ -1,3 +1,6 @@ +2008-02-05 Applied Gael's ginput patch and created + examples/ginput_demo.py - JDH + 2008-02-03 Expose interpnames, a list of valid interpolation methods, as an AxesImage class attribute. - EF Added: trunk/matplotlib/examples/ginput_demo.py =================================================================== --- trunk/matplotlib/examples/ginput_demo.py (rev 0) +++ trunk/matplotlib/examples/ginput_demo.py 2008-02-05 21:52:04 UTC (rev 4942) @@ -0,0 +1,6 @@ +from pylab import arange, plot, sin, ginput, show +t = arange(10) +plot(t, sin(t)) +print "Please click" +ginput(3, verbose=True) +show() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |