[SciPy-user] Re: Pythonw crashes if I try to plot Complex data points

Hetal Patel hetal75 at hotmail.com
Fri Jan 16 13:01:55 CST 2004


I had the same problem too. It apears that Gplt does not support he plotting 
of complex data points.


>From: John Byrnes <jb1 at alfred.edu>
>Reply-To: SciPy Users List <scipy-user at scipy.net>
>To: scipy-user at scipy.org
>Subject: [SciPy-user] Re: Pythonw crashes if I try to plot Complex data 
>points
>Date: Wed, 14 Jan 2004 03:01:21 -0500
>
>
>>>>>from scipy import *
>>>>>a = arange(1,10,0.2)
>>>>>b = a + 2.j
>>>>>b
>All works OK.
>
>>>>>gplt.plot(b)
>Crashes for me too... However, you forgot to tell scipy to import gplt.  In 
>any case it doesn't help anyway.
>
>Try this
>
>from scipy import *
>from scipy import plt
>a = arange(1,10,0.2)
>b = a + 2.j
>plt.plot(b)
>
>This snippet works fine for me.
>
>John
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo



More information about the SciPy-user mailing list