[SciPy-user] plotting questions (gplt and plt)

Ruben Charles rubencharles at gmail.com
Mon Sep 19 12:09:44 CDT 2005


Hi,

I'm using Scipy on Debian Gnu/Linux. (python2.3-scipy) in a program
that have to show plots but while i'm testing capabilities of the
three possible options (gplt, plt an xplt) a couple of questions comes
up.

--------------------------------------------------------------------------------------------------------------
plt:

If a follow the steps of the plotting tutorial everything seems ok in
the first try.

>>> import gui_thread
>>> gui_thread.start() # or gui_thread.wxPython_thread()
>>> from scipy import plt
>>> plt.plot((1,2,3))


But if i close the Plot frame (manually with the cursor) and try to plot again

>>> plt.plot((1,2,3))


The interpreter shows a message: "The C++ part of the code has been
deleted" and i can´t plot again without exit the interpreter and back
again.


How i can solve that?

----------------------------------------------------------------------------------------------------------------

gplt (gnuplot):

If i create a plot with the Gnuplot program the resulting plot has
responses to mouse events and shows coordinates in the window but if i
create a plot in python

gplt.plot((1,2,3))

The window have not the same response to mouse events (no response at all).

How i can give the same responses?
___________________________________________________________________




Thanks



More information about the SciPy-user mailing list