Question: plot3d on triangular domain

Hi!

i'd be glad to get some help with that problem:

i want to do a plot3d of serveral functions depending on x1, x2.

My problem is the that I need it to be plotted on a triangular domain. i.e. the triangle limited by the edges (0,0), (0,1), (1,1).

I tried the following:

p[i]:= plot(phiX1[i](x1,x2),x1=x2..1-x2,x2=0.. 1);

and received:

Error, (in plot) expecting a real constant as range endpoint but received x2

How can I solve this problem?

Thank you!

nerdpole ;)

Please Wait...