Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12073
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: plot function of two variables |
| Date | 2012-10-14 04:24 +0000 |
| Message-ID | <k5deqa$sgb$1@smc.vnet.net> (permalink) |
| References | <k5at8r$nra$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
plot function of two variables Miguel Aragon <aragon.miguel@gmail.com> - 2012-10-13 05:12 +0000 Re: plot function of two variables David Reiss <dbreiss@gmail.com> - 2012-10-14 04:22 +0000 Re: plot function of two variables "Nasser M. Abbasi" <nma@12000.org> - 2012-10-14 04:24 +0000
csiph-web