Gri Commands
|
12.6: The `
|
`create columns from function' |
Plot a function of x which is defined in synonym \function.
ENVIRONMENT \function = function to plot. \xmin = minimum x value \xmax = maximum x value \xinc = increment in x values EXAMPLE \function = "cos(x)" \xmin = "0" \xmax = "2 * 3.14" \xinc = "0.1" create columns from function draw curve quit |
NOTE: This only works on machines which have the `awk
' command
available at the commandline. This means most unix machines and some
vax machines.
create image grayscale
' ... Command
`create image grayscale banded .band.' |
Make a banded grayscale with in units of .band. pixel values each. Thus, pixel values 0 to (.band. - 1) on the image will map to 0, while values from .band. to (2 * .band. - 1) will map to .band., etc. For example, .band. = 2 gives grayscale = (0 0 2 2 4 4 6 6 ... 252 252 254 254).