[scilab-Users] Doubt in plot3d

Ronald Michaels ron at phenotypescreening.com
Sun May 17 15:52:01 CEST 2009


Hi - 

I think the problem lies with g.  Try this code in order to see what you
are actually doing:


clear
x=[-1:0.01:1];
y=[-1:0.01:1];
g = x .* sin(4 .* %pi .* x) - y .* sin ( 4 .* %pi .* y + %pi ) + 1;
size(g)
plot(g)


Ron


On Sat, 2009-05-16 at 22:13 -0700, Lucio Agostinho Rocha wrote:
> x=[-1:0.01:1];
> y=[-1:0.01:1];
> g = x .* sin(4 .* %pi .* x) - y .* sin ( 4 .* %pi .* y + %pi ) + 1;
> plot3d(x,y,g)
> 




More information about the users mailing list