RE: Graphing Level Sets
- To: mathgroup at smc.vnet.net
- Subject: [mg27460] RE: [mg27447] Graphing Level Sets
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 26 Feb 2001 01:29:26 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Eric, ContourPlot is one convenient method for making your plot. Needs["Graphics`ImplicitPlot`"] Needs["Graphics`Colors`"] f[x_, y_] := x^2*y^2 ContourPlot[f[x, y], {x, -5, 5}, {y, -5, 5}, Contours -> {1, 2, 3, 4, 5}, ContourShading -> False, PlotPoints -> 30, FrameLabel -> {x, y}, PlotLabel -> f[x, y], Background -> Linen, ImageSize -> 500, Epilog -> {Text[1, {0.802016, 0.843527}], Text[5, {1.72142, 1.69221}]}]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ > From: Eric [mailto:hearts121 at deleteme.hotmail.com] To: mathgroup at smc.vnet.net > > Hello everyone, > > I'm new to Mathmatica and I'm trying to graph the level sets of a > function in 3 variables. For example: > > Given function: f(x,y)=(x^2)(y^2) > I want to graph the functions: > > 1 = (x^2)(y^2) > 2 = (x^2)(y^2) > 3 = (x^2)(y^2) > 4 = (x^2)(y^2) > 5 = (x^2)(y^2) >