MathGroup Archive 2009

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

Search the Archive

Re: Draw a 3D surface

  • To: mathgroup at
  • Subject: [mg100694] Re: Draw a 3D surface
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 11 Jun 2009 07:08:59 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <h0pjhq$538$>
  • Reply-to: kuska at


g[y_] := y^2 - 2

Plot3D[Exp[-x^2 - y^2], {x, -3, 3}, {y, -3, 3}, PlotRange -> All,
  RegionFunction -> Function[{x, y, z}, x < g[y]]]



jl_03824 at wrote:
> I intend to draw a 3D surface, which is defined in a tricky way. Given
> function f(x, y), the values of f are known but the range is
> determined by a function of y, g(y). I need to plot x as a function of
> y and f within the range determined by g(y). Can anybody help?
> Appreciate!
> Jun Lin

  • Prev by Date: Creating Matrix from vectors
  • Next by Date: Re: problem with Sum
  • Previous by thread: Draw a 3D surface
  • Next by thread: Re: Re: Draw a 3D surface