I am relatively new to Mathematica and have a question regarding ListPlot3D.
I am plotting results for the 2 dimensional heat equation for a particular point in time, so to each (x,y) in my partition of the xy-plane (with x ranging from 0 to 100, y from 0 to 200), there is point in the z direction that represents the heat as a function of x and y (and time, but the plot represents the heat distribution at a fixed point in time). This was done using the finite difference method.
I initially plotted the results using ListPointPlot3D
as well as ListPlot3D
(which of course "interpolates" the points). I would like to plot some level curves on the xy-plane, but in absence of z as closed-form function of x and y, I do not know how to do this with Mathematica.
Essentially, what I would like to do is intersect the ListPlot3D
surface with a few planes of constant height above the xy-plane, and then project the intersections on to the xy-plane, but because I do not have an explicit function to which I can equate the plane equation to, I have to find an alternative method. Does anyone have any suggestions on this?
Alternatively, is there another feature in Mathematica of which I am unaware that will compute a best-fit function, so I can supply a number of tuples of the form {x, y, z(x,y)}
and get a closed-form solution of z?
Any help would be greatly appreciated.
MeshFunctions -> {#3 &}
inListPlot3D[]
. Look upListContourPlot[]
as well. $\endgroup$