2d distribution in 3d Space

*To*: mathgroup at smc.vnet.net*Subject*: [mg85503] 2d distribution in 3d Space*From*: travelmail26 at gmail.com*Date*: Wed, 13 Feb 2008 04:07:32 -0500 (EST)

I'm trying to plot 2d distributions (like a bell curve) in 3d space. I tried combining a contour plot with a regional plot with this code ---------------------------------------------------------------------------- plot1 = RegionPlot3D[x y z < 1, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, PlotStyle -> Directive[Yellow, Opacity[0.5]], Mesh -> None]; slice1 = ContourPlot3D[ y == 2*x - 4, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, Mesh -> False, BoxRatios -> {1, 1, 1}, AspectRatio -> 1]; Show[plot1, slice1] ---------------------------------------------------------------------------- however, I can't constrain the z-values to get the shape of the distribution, I just get a continuous plane that extends from the top to the bottom of the graph. Any hints? Thanks