File: Sgrayplot.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (30 lines) | stat: -rw-r--r-- 745 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Sgrayplot          Scilab Group          Scilab Function          Sgrayplot
NAME
   Sgrayplot - smooth 2D plot of a surface using colors
  
CALLING SEQUENCE
 Sgrayplot(x,y,z,[strf,rect,nax])
DESCRIPTION
   Sgrayplot is the same as grayplot 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 Sgrayplot() to see a demo.
  
EXAMPLE
 x=-10:10; y=-10:10;m =rand(21,21);
 Sgrayplot(x,y,m,"111",[-20,-20,20,20])
 t=-%pi:0.1:%pi; m=sin(t)'*cos(t);
 xbasc()
 Sgrayplot(t,t,m)
SEE ALSO
   fec, fgrayplot, grayplot, Sfgrayplot
  
AUTHOR
   J.Ph.C.