[SciPy-user] Novice Question on plt.plot

Steve Schmerler elcorto at gmx.net
Tue Mar 8 11:55:50 CST 2005



David Flory wrote:
>  
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I cannot run plt.plot from a python 2.3.5 shell.  I have no problems
> from inside pycrust.  

Is there a special reason you have for calling the python interpreter 
from the DOS command line (rather than using e.g. PyCrust (as you 
mentioned), PythonWin or IPython)?

There are many other fine plotting packages if you can't get plt running:

scipy.xplt (fast, good for short interactive tasks)
matplotlib (matplotlib.sourceforge.net, like MATLAB)
gnuplot-py (gnuplot-py.sourceforge.net, very nice and fast gnuplot 		 
          interface)
....

Cheers, steve


> My DOS window look like this:
> 
> D:\Flory>python
> ActivePython 2.3.5 Build 236 (ActiveState Corp.) based on
> Python 2.3.5 (#62, Feb  9 2005, 16:17:08) [MSC v.1200 32 bit (Intel)]
> on win32
> Type "help", "copyright", "credits" or "license" for more
> information.
> 
>>>>import gui_thread
>>>>gui_thread.start()
>>>>from scipy import plt
>>>>plt.plot((1,2,3))
> 
> <scipy.plt.wxplt.plot_frame; proxy of C++ wxFrame instance at
> _a062ff03_p_wxFrame>
> 
> D:\Flory>
> 
> After the plt.plot() call I pop up an empty window "Figure 0" and the
> console give the <scipy.plt.wxplt.plot_frame ...> line above.  When I
> click on the window, it turns white stays blank, and reports (Not
> responding).  When I close it, WinXP reports that the program is not
> responding and forces a close.
> 
> I have SciPy 0.3.2 installed and wxPython 2.5.3.1.  I have looked in
> the documentation and not found anything.  Suggestions or pointers to
> help would be appreciated.
> 
> - --------------------------------------------------
> David Flory
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 8.1
> 
> iQA/AwUBQi3T3Ve2/rcN3lp8EQJqjgCgo9I5JLd9bfiPcRolcvppjFp+nHEAoJwE
> fjbOFUGIVXnTfH5ISehw4yja
> =vmCF
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
> 
> 

-- 
There are three types of people in this world: those who make things 
happen, those who watch things happen and those who wonder what 
happened. - Mary Kay Ash



More information about the SciPy-user mailing list