MathGroup Archive 2009

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

Search the Archive

Re: Draw a 3D surface


Hi,

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]]]


?

Regards
   Jens

jl_03824 at yahoo.com 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