MathGroup Archive 2000

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

Search the Archive

Re: Plotting bounded domains


f[x_, y_] := x*y;

region[x_, y_] := 
     (UnitStep[x] - UnitStep[x - 2.])*(UnitStep[y] - UnitStep[y - x]);

Plot3D[f[x, y]*region[x, y], {x, -0.5, 2.5}, {y, -0.5, 3.5}, 
    PlotPoints -> 35, AxesLabel -> {"x", "y", "z"}, 
    ViewPoint -> {1.300, -2.400, 2.000}];

Bob Hanlon

In a message dated 4/19/2000 2:44:33 AM, jgregory at ismi.net writes:

>    In Mathematica, how does one plot a bounded and closed domain in R^2
>that includes variables? For example let R be y=x; x=2; y = 0; for the
>function,  f(x,y) = x*y.
>


  • Prev by Date: Printing Mathematica in MSWord
  • Next by Date: Re: Mathematica (R) logo in Metafont
  • Previous by thread: Plotting bounded domains
  • Next by thread: RE: Plotting bounded domains