Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Level curves' topicStudent Support Forum > General > Archives > "Level curves"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Daniele Lupo
10/02/05 3:29pm

Hi.

You can do something similiar using FilledPlot. if you want to use the yz plane, you want that there are level curves ad x=c.

A way to do this is, having a function f[x,y], in the creation of a table of functions obrained using Table[f[x,y],{x,xmin,xmax,dx}], and then using it with Filled Plot. This command fill automatically the space between two consecutive functions of the list. For example, we can define this function:

f[x_, y_] := BesselJ[2, x^2 + y^2];

Plotting it with 3DPlot:

Plot3D[f[x, y], {x, 0, 5}, {y, 0, 5}]

To use filledplot, you must to load the right package:

<< Graphics`FilledPlot`

And then using Table and FilledPlot to draw the entire list of functions:

FilledPlot[Evaluate[Table[f[x, y], {x, 0, 4, .1}]], {y, 0, 4}]

I hope that this can help you.

Daniele

URL: ,

Subject (listing for 'Level curves')
Author Date Posted
Level curves Jordan Scott 09/27/05 7:59pm
Re: Level curves Daniele Lupo 10/02/05 3:29pm
< Previous CommentHelp | Reply To Comment | Reply To Topic