Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: plot of function of two variables
Replies: 4   Last Post: Oct 14, 2012 12:23 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Murray Eisenberg

Posts: 2,105
Registered: 12/6/04
Re: plot a function of two variables
Posted: Oct 14, 2012 12:21 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


On Oct 13, 2012, at 1:03 AM, Miguel Aragon <aragon.miguel@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@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









Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.