[SciPy-user] gist.error: Gist GdLines plotter failed
Janko
jh at comunit.de
Thu Feb 28 04:42:52 EST 2002
On Thu, 28 Feb 2002 11:20:59 +0100
Nils Wagner <nwagner at mecha.uni-stuttgart.de> wrote:
You need to reopen a plot window:
>>> xplt.window(1)
HTH,
__Janko
> Hi all,
>
> I have used xplt to plot some functions.
>
> xplt.window(1)
> Python 2.1.2 (#1, Feb 25 2002, 18:04:21)
> [GCC 2.95.3 20010315 (SuSE)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> from scipy.xplt import *
> >>> from scipy import *
> >>> x = arange(0,10,0.2)
> >>> print x
> [ 0. 0.2 0.4 0.6 0.8 1. 1.2 1.4 1.6 1.8 2. 2.2 2.4 2.6
> 2.8
> 3. 3.2 3.4 3.6 3.8 4. 4.2 4.4 4.6 4.8 5. 5.2 5.4
> 5.6
> 5.8 6. 6.2 6.4 6.6 6.8 7. 7.2 7.4 7.6 7.8 8. 8.2
> 8.4
> 8.6 8.8 9. 9.2 9.4 9.6 9.8]
> >>> plot (x,sin(x))
> >>> plot (x,sin(0.1*x))
> >>> y = arange(0,10,0.1)
> >>> plot (y,sin(0.1*y))
> >>> plot (y,sin(y))
> >>> y = arange(0,10,0.1)
> >>> plot (y,sin(y))
>
> If I close the window (containing the graph) and run the command
>
> >>> plot (y,sin(y))
>
> again, I get
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/python2.1/site-packages/scipy/xplt/Mplot.py",
> line 470, in plot
>
> gist.plg(y,x,type=thetype,color=thecolor,marker=themarker,marks=tomark)
> gist.error: Gist GdLines plotter failed
>
> Any idea ?
>
> Nils
> _______________________________________________
> 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