Re: plot hyperbola

• To: mathgroup at smc.vnet.net
• Subject: [mg57311] Re: plot hyperbola
• Date: Tue, 24 May 2005 05:12:49 -0400 (EDT)
• Sender: owner-wri-mathgroup at wolfram.com

```On 5/23/05 at 4:30 AM, bdsatish at gmail.com (bd satish) wrote:

>HI, i am a beginner. Will u please tell me how to plot
>hyperbola,parabola,ellipse and circle in their standard forms
>x^2/a^2 + y^2/b^2 = 1 x^2/a^2 -- y^2/b^2 ==1 etc. Also how do you
>plot a general curve (y versus x), say x^2 +3 x^2 y^3 +67 x^4 y^2

The easiest way I know to do this is to use the package Graphics`ImplicitPlot. That is the following will generate the plots you asked about

<<Graphics`ImplicitPlot`

{a, b} = {2, 1};
ImplicitPlot[x^2/a^2 +  y^2/b^2 == 1,
{x, -5, 5}, Frame -> True,  Axes -> None];

ImplicitPlot[x^2/a^2 - y^2/b^2 == 1, {x, -5, 5}];

ImplicitPlot[x^2 + 3 x^2
y^3 + 67 x^4 y^2 + 34 == 0, {x, -1, 1},
AspectRatio -> 1, PlotPoints -> 105];

In the last example, I've changed the aspect ratio and increased the number of plot points to get a better appearing plot.
--
To reply via email subtract one hundred and four

```

• Prev by Date: Re: How to use only part of mapping
• Next by Date: Re: right to left fonts inside strings
• Previous by thread: Re: plot hyperbola
• Next by thread: Re: plot hyperbola