MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plot3D and ContourPlot problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73085] Re: Plot3D and ContourPlot problem
  • From: "dimitris" <dimmechan at yahoo.com>
  • Date: Thu, 1 Feb 2007 04:11:38 -0500 (EST)
  • References: <epnae6$d8e$1@smc.vnet.net>

On Jan 30, 1:33 pm, "Josef Otta" <josef.o... at gmail.com> wrote:
> 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

Hi Josef,

Have a careful look on the following link

http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/bc1881781bea5428/7f6e139f3c025ef2?lnk=gst&q=combine+Plot3D+and+ContourPlot&rnum=10&hl=en#7f6e139f3c025ef2


  • Prev by Date: Root finding of multivariable nonlinear equations
  • Next by Date: RE: Plot3D and ContourPlot problem
  • Previous by thread: Re: Root finding of multivariable nonlinear equations
  • Next by thread: RE: Plot3D and ContourPlot problem