MathGroup Archive 2002

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

Search the Archive

Re: Plotting ellipses and other functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37028] Re: [mg37026] Plotting ellipses and other functions
  • From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
  • Date: Mon, 7 Oct 2002 05:23:51 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

There are two basic ways, the second of which has two forms.  The basic 
ways are:

1. Using the built in function ContourPlot, e.g.:

ContourPlot[x^3y + y^3 - 9, {x, -9, 9}, {y, -27, 27}, Contours -> {0},
     ContourShading -> False, Axes -> True, Frame -> False,
     PlotPoints -> 50, AxesOrigin -> {0, 0}]

alternatively you can use a Standard package:


<<Graphics`ImplicitPlot`


ImplicitPlot[x^3y+y^3==9,{x,-9,9},AxesOrigin->{0,0}]

or ImplicitPlot[x^3y+y^3-==9,{x,-9,9},{y,-27,27},AxesOrigin->{0,0}]

The difference between these two is that the first one gives you a 
smoother picture but requires the equation to be solvable (by 
Mathematica) for y. The second will give a picture very similar to that 
produced by the first method.

Andrzej Kozlowski
Yokohama, Japan
http://www.mimuw.edu.pl/~akoz/
http://platon.c.u-tokyo.ac.jp/andrzej/


On Sunday, October 6, 2002, at 06:33 PM, David wrote:

> How can I plot functions like:
>
> (x-2)^2 + 2(y-3)^2 = 6
>
> and
>
> x^3y + y^3 = 9
>
> using Mathematica?
>
>
>
>
>
>



  • Prev by Date: RE: factoring quartic over radicals
  • Next by Date: Re: BinaryImport
  • Previous by thread: RE: Plotting ellipses and other functions
  • Next by thread: RE: Plotting ellipses and other functions