Re: How to draw an ellipse?
- To: mathgroup@smc.vnet.net
- Subject: [mg10406] Re: How to draw an ellipse?
- From: murray@math.umass.edu (Murray Eisenberg)
- Date: Mon, 12 Jan 1998 04:10:51 -0500
- Organization: University of Massachusetts, Amherst
- References: <694b5p$kjs@smc.vnet.net>
Krishnan Jayakrishnan (saljxk@dix.agl.uh.edu) wrote:
: 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. --
Try, for example:
a = 3; b = 2;
ParametricPlot[{a Cos[t], b Sin[t]}, {t, 0, 2 Pi}];
--
Murray Eisenberg Internet:
murray@math.umass.edu
Mathematics & Statistics Dept. Voice: 413-545-2859 (W)
University of Massachusetts 413-549-1020 (H)
Amherst, MA 01003 Fax: 413-545-1801