# Maple: How to give values to assumptions for plotting?

So I have a simple example of what I want to do:

restart;
assume(can, real);
f := {g = x+can*x*y, t = x+x*y};
assign(f[1]); g;
can := 2;
plot3d(g, x = 0 .. 100, y = 0 .. 100);


while this works:

restart;
f := {g = x+can*x*y, t = x+x*y};
assign(f[1]);
can := 2;
plot3d(g, x = 0 .. 100, y = 0 .. 100);


But that assumptions are really important for my real life case (for some optimisations with complex numbers) so I cant just leve can not preassumed.

Why it plots nothuing for me and how to make it plot?

-
I also tried asuming(can = 2) and assign(can = 2) –  Kabumbus Sep 11 '11 at 17:58
And I can not simply just create g –  Kabumbus Sep 11 '11 at 17:59

Is it possible to feed an array to eval? (for example) something like Gtemp := eval(g, {can = t, cod = 10, p[1] = 10}) –  Kabumbus Sep 11 '11 at 18:33