MathGroup Archive 2006

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

Search the Archive

Re: 3D-plot over a triangle


Plot3D[4*s*t*Boole[0<s<1 && 0<t<1-s],
    {s,0,1},{t,0,1},
    PlotRange->All,BoxRatios->{1,1,1/2}];

Needs["Graphics`"];

InequalityPlot3D[0<s<1 && 0<t<1-s && z<4*s*t, 
    {s,-0,1},{t,0,1},{z,0,1},
    BoxRatios->{1,1,1/2},PlotPoints->15];


Bob Hanlon

> 
> From: "pluton" <plutonesque at gmail.com>
To: mathgroup at smc.vnet.net
> Subject: [mg65026] [mg65021] 3D-plot over a triangle
> 
> Hi there,
> 
> I want to plot the following function f = 4*s*t over a triangle defined
> by s going from 0 to 1
> and t from 0 to 1-s.
> 
> I tried Plot3D[4st, {s, 0, 1}, {t, 0, 1-s}]; but it does not work. Any
> suggestion ?
> 
> Thank you,
> 
> Pluton
> 
> 


  • Prev by Date: Re: Plot derivative
  • Next by Date: Plot resolution
  • Previous by thread: Re: 3D-plot over a triangle
  • Next by thread: Re: 3D-plot over a triangle