File: fgrayplot.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 (36 lines) | stat: -rw-r--r-- 1,117 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
31
32
33
34
35
36
fgrayplot          Scilab Group          Scilab Function          fgrayplot
NAME
   fgrayplot - 2D plot of a surface defined by a function using colors
  
CALLING SEQUENCE
 fgrayplot(x,y,f,[strf,rect,nax])
 fgrayplot(x,y,f,<opt_args>)
PARAMETERS
 x,y         : real row vectors.
             
 f           : external of type y=f(x,y).
             
 <opt_args>  : This represents a sequence of statements key1=value1,
             key2=value2,... where key1, key2,... can be one of the
             following: rect, nax, strf or axesflag and frameflag (see
             plot2d). 
             
 strf,rect,nax
              : see plot2d.
             
DESCRIPTION
   fgrayplot makes a 2D plot of the surface given by z=f(x,y) 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 fgrayplot() to see a demo.
  
EXAMPLE
 t=-1:0.1:1;
 deff("[z]=surf(x,y)","z=x**2+y**2")
 fgrayplot(t,t,surf,rect=[-2,-2,2,2])
SEE ALSO
   grayplot, plot2d, Sgrayplot, Sfgrayplot
  
AUTHOR
   J.Ph.C.