Sfgrayplot

Sfgrayplot — smooth 2D plot of a surface defined by a function using colors

Calling sequence

Sfgrayplot(x,y,f,[strf,rect,nax])  

Description

Sfgrayplot is the same as fgrayplot but the plot is smoothed. The function fec is used for smoothing. The surface is plotted assuming that it is linear on a set of triangles built from the grid:



    ______ 
    | /| /| 
    |/_|/_|  
    | /| /|
    |/_|/_|
   
    

Enter the command Sfgrayplot() to see a demo.

Examples



t=-1:0.1:1;
deff("[z]=surf(x,y)","z=x**2+y**2")
Sfgrayplot(t,t,surf,"111",[-2,-2,2,2])
 
  

See also

fec, fgrayplot, grayplot, Sgrayplot

Author

J.Ph.C.