Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: plot function of two variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128410] Re: plot function of two variables
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sun, 14 Oct 2012 00:13:42 -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: <k5at8r$nra$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 10/13/2012 12:12 AM, Miguel Aragon 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?
>
> Thank you,
>

some possibilities

-------------
Clear[x, y]
expr = (x - a)^2 + (y - b)^2 - r^2;
values = {a -> 1, b -> 1, r -> 2};

ContourPlot[expr /. values, {x, -2, 2}, {y, -2, 2}]
Plot3D[expr /. values, {x, -2, 2}, {y, -2, 2}]
-------------------------------

--Nasser



  • Prev by Date: Re: plot of function of two variables
  • Next by Date: Re: plot of a function of two variables
  • Previous by thread: Re: Solve
  • Next by thread: Re: plot function of two variables