Re: 3D-plot over a triangle
- To: mathgroup at smc.vnet.net
- Subject: [mg65026] Re: [mg65021] 3D-plot over a triangle
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sun, 12 Mar 2006 23:57:43 -0500 (EST)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
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
>
>