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.
Hi Nadav, 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.... 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@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
participants (2)
-
Arnd Baecker
-
Nadav Horesh