> I'm trying to plot the following function in Scilab:
> g = x .* sin(4 .* %pi .* x) - y .* sin ( 4 .* %pi .* y + %pi ) + 1;
> but nothing is displayed. What i'm doing wrong? Someone could help
> me? If yes, how can I put a degrade with several colors?
x as well as y must be matrices for calculating g in this way:
g = x .* sin(4 .* %pi .* x) - y .* sin ( 4 .* %pi .* y + %pi ) + 1;
should work and fairly uses Scilab's efficiency for internal matrix