Man Scilab

grayplot
Scilab Function

grayplot - 2D plot of a surface using colors

Calling Sequence

grayplot(x,y,z,[strf,rect,nax])
grayplot(x,y,z,<opt_args>)

Parameters

Description

grayplot makes a 2D plot of the surface given by z on a grid defined by x and y . Each rectangle on the grid is filled with a gray or color level depending on the average value of z on the corners of the rectangle.

Enter the command grayplot() to see a demo.

Examples


x=-10:10; y=-10:10;m =rand(21,21);
grayplot(x,y,m,rect=[-20,-20,20,20])
t=-%pi:0.1:%pi; m=sin(t)'*cos(t);
clf()
grayplot(t,t,m)
 
  

See Also

fgrayplot ,   plot2d ,   Sgrayplot ,   Sfgrayplot ,  

Author

J.Ph.C.

Back