On Jan 2, 2008 10:25 PM, Aitor Gonzalez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have some two sets of data with their x- and y-coordinates, (x1, y1) and
> (x2, y2). I want to plot these curves as a parametric plot:
> #########
> from numpy import *
> from pylab import *
>
> t = arange ( 0.0 , pi/2 , 0.05)
> x1= cos(t)
> y1 = -sin(t)
> x2 = -1+2/pi*t
> y2 = -2/pi*t

I think you want something like

plot(x1, y1, 'g-', x2, y2, 'r-')

-------------------------------------------------------------------------
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