[sage-support] pylab.plot error

2009-08-07 Thread Rafael Cardoso Dias Costa
People, Help me, please. *My code is:* reset() import pylab as pylab T = 0.1 t = pylab.linspace(0,100-T,100/T) y = pylab.sin(2*pi*0.2*t) p = pylab.plot(x,y) pylab.savefig('teste.png') * The error is:* Traceback (click to the left for traceback) ... TypeError:

[sage-support] Re: pylab.plot error

2009-08-07 Thread Rafael Cardoso Dias Costa
The correct code: p = pylab.plot(t,y) Thank you! On Fri, Aug 7, 2009 at 5:01 PM, Rafael Cardoso Dias Costa rfc...@gmail.comwrote: People, Help me, please. *My code is:* reset() import pylab as pylab T = 0.1 t = pylab.linspace(0,100-T,100/T) y = pylab.sin(2*pi*0.2*t) p