Neal Becker wrote:
> Newb here.  I can plot a seq of float with:
> 
> pylab.plot (s)
> pylab.show()
> 
> But if s is complex, say numpy.array(complex), it doesn't do what I want.  I
> think it's just showing the real part?
> 
> I want to get 2 line graphs, one real one imag.

If s is a numpy array, then try:
        
pylab.plot(s.real)
pylab.plot(s.imag)
pylab.show()

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to