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

Brice Thurin B.P.S.Thurin at city.ac.uk
Tue Sep 20 04:29:13 EDT 2005


Hi,

When I was running into problem with plt, xplt and gnuplot, someone 
suggest to me to use matplotlib, which I did... and I am quite satisfied.



Ruben Charles wrote:

>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
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>
>
>  
>




More information about the SciPy-User mailing list