[SciPy-user] Re: xplt documentation

Nadav Horesh nadavh at visionsense.com
Thu Apr 29 12:07:07 EDT 2004


 >First you can try
 >  help("scipy.xplt")
 >  help("scipy.xplt.plot")
 >to get further information.
 >As xplt is based on pygist this document
 >  
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/python/pygist_html/pygist.html
 >might help you further.
 >
 >You wrote that you would like to use xplt interactively -
 >I am not sure what you mean, e.g. the following works nicely
 >
 >In [1]: from scipy.xplt import *
 >In [2]: x=arange(0.0,1.0,0.1)
 >In [3]: plg(x*x,x)
 >
 >(the prompt is from Ipython, but the normal python will do as well,
 >though you'll miss all the nice features of Ipython ;-).
 >You can still use the mouse to zoom in and such.
 >To capture a mouse click you can use the mouse function of xplt.
 >
 >Hope this helps.
 >
 >Arnd
 >
 >
 >On Wed, 28 Apr 2004, Nadav Horesh wrote:
 >
 >> I just started to play with xplt under linux. The package seems to fill
 >> some of the missing features in gnuplot(gplt) 4.0. The problem I have is
 >> that I can not use it interactively unless I run a loop of
 >> xplt.pyg_pending(). Is there a "decent" way to make an interactive xplt
 >> session? Where can I find some useful documentation beside the plotting
 >> tutorial?
 >>
 >>   Nadav.
 >>
 >> _______________________________________________
 >> SciPy-user mailing list
 >> SciPy-user at scipy.net
 >> http://www.scipy.net/mailman/listinfo/scipy-user
 >>

Thank you for the references.. The problem with the need to loop over 
xplt.pyg_pending(), is
specific to IDLE. The problem with plt and xplt is that they don't leave 
happily with IDLE, which
is my favorite (I have experience with with pycrust and Ipython). Is 
there any workaround
or this is a fundamental issue of Tkinter?

  Nadav.




More information about the SciPy-User mailing list