Plot3D and ContourPlot problem
- To: mathgroup at smc.vnet.net
- Subject: [mg73038] Plot3D and ContourPlot problem
- From: "Josef Otta" <josef.otta at gmail.com>
- Date: Tue, 30 Jan 2007 07:12:22 -0500 (EST)
Hi, i want to combine Plot3D and ContourPlot. Do You have any idea how to do that? I need to have for example picture with plotted function f[x,y] and on the x-y plane shown its contours f[x_, y_] := Exp[-(x^2 + y^2)] a = Plot3D[f[x, y], {x, -2, 2}, {y, -2, 2}, HiddenSurface -> False, Shading -> False, Boxed -> True, PlotPoints -> 15] b = ContourPlot[f[x, y], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 30] Any ideas how to do something like "Show[a,b]"? Thanks, Josef