[SciPy-user] Using the mouse in gplt ?

Yann Le Du yann.ledu at noos.fr
Tue Jan 21 19:33:14 EST 2003


On Sun, 29 Dec 2002, eric jones wrote:

> You can send raw gnuplot commands to a plot object like so:
> 
> >>> from scipy import gplt
> >>> gplt.plot((1,2,3))
> >>> q=gplt.current()
> >>> q
> <scipy.gplt.new_plot.Plot instance at 0x01BE0A80>
> >>> q._send('set mouse;')
> 
> eric

Thank you : it works for me if I first send 'set mouse' BEFORE I use 
gplt.plot(). I found this thanks to Arnd's email, saying that 'set mouse' 
should be sent as the first command.

Many thanks for that great tip !

Yann




More information about the SciPy-User mailing list