MathGroup Archive 2012

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

Search the Archive

Re: plot a function of two variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128406] Re: plot a function of two variables
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 14 Oct 2012 00:12:22 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20121013050359.784D168D7@smc.vnet.net>

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








  • References:
    • [no subject]
      • From: Miguel Aragon <aragon.miguel@gmail.com>
  • 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