MathGroup Archive 2012

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

Search the Archive

Re: plot a function of two variables


On Oct 13, 2012, at 1:03 AM, Miguel Aragon <aragon.miguel at gmail.com> wrote:

>
> I have a question about how to plot a function of two variable of the form
> (x-a)^2 + (y-b)^2 = r^2 with Mathematica v 7.0?  Is it possible?

Use ContourPlot. For example:

  ContourPlot[(x - 1)^2 + (y + 1)^ 2== 3^2, {x, -4, 5}, {y, -5, 4},
     ContourStyle -> Thick, Axes -> True, Frame -> False, AxesLabel -> "x", "y"}]

Notice that with this form of ContourPlot, where the first argument is a function, you do not specify the Contours option.

---
Murray Eisenberg                                     
murray at math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower                      phone 413 549-1020 (H)
University of Massachusetts                                413 545-2838 (W)
710 North Pleasant Street                            fax   413 545-1801
Amherst, MA 01003-9305








  • Prev by Date: Re: How to simplify hypergeometrics
  • Next by Date: Re: plot a function of two variables
  • Previous by thread: [no subject]
  • Next by thread: Re: plot a function of two variables