MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: How to draw an ellipse?



Hi
Try this (put in the values of a and b that you desire):

x[t_]:= 3 Cos[t]
y[t_]:=2 Sin[t]
ParametricPlot[{x[t],y[t]}, {t,0,2 Pi}, AspectRatio->Automatic]

RF
-----Original Message-----
From:	Krishnan Jayakrishnan [SMTP:saljxk@dix.agl.uh.edu] To:
mathgroup@smc.vnet.net
Sent:	Thursday, January 08, 1998 10:41 PM To:	mathgroup@smc.vnet.net
Subject:	[mg10343] How to draw an ellipse?

Does any one know how to construct an ellipse? For example an ellipse
centered at (0,0) with intercepts at (-a,0,(a,0),(0,-b),(0,b) with
parametric equation
x(t) = a*cos(t)
y(t) = b*sin(t)
with t increasin from 0 to 2pi radians. -- Sincerely
Krishnan Jayakrishnan
Systems Administrator
Allied Geophysical Labs
University of Houston




  • Prev by Date: Re: problem with Integrate
  • Next by Date: Re: debugging MathLink executables
  • Prev by thread: Re: How to draw an ellipse?
  • Next by thread: MathLink and Redhat 5.0