Wiki Markup |
---|
{alias:gsu}
h2. Name
*gsu* — Grid surface points
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*gsu* \[*inc*] | \[_nx ny_] \[*trend* _trendgrid_] \[*ref* _referencegrid_]
{panel}
h2. Description
General gridding command from input points using a minimum curvature algorithm into a grid surface. The gridding can also try to follow a trend grid that is placed in workspace. The algorithm has good extrapolation qualities as shown in the example.
h2. Arguments
No arguments.
{indent}The grid will have the same number of rows and columns as the last grid that set the @nrow @ncol variables.{indent}
*inc* _xinc yinc_
{indent}Create grid model grid with increments _xinc_ and _yinc_ .{indent}
_nx ny_
{indent}Create a grid with nx times ny grid cells.{indent}
*trend* _trendgrid_
{indent}Apply a trend grid in workspace _trendgrid_ for the gridding process.{indent}
*ref* _referencegrid_
{indent}Apply a reference grid in workspace _referencegrid_ for grid layout. Dimension of the grid is taken from the _referencegrid_.{indent}
h2. Examples
h3. Ex.1: Grid surface interpolating points
{noformat:|borderWidth=1|bgColor=#eeeeee} |
Name
gsu — Grid surface points
Syntax
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
gsu [inc] | [nx ny] [trend trendgrid] [ref referencegrid] |
Description
General gridding command from input points using a minimum curvature algorithm into a grid surface. The gridding can also try to follow a trend grid that is placed in workspace. The algorithm has good extrapolation qualities as shown in the example.
Arguments
No arguments.
inc xinc yinc
nx ny
trend trendgrid
ref referencegrid
Examples
Ex.1: Grid surface interpolating points
No Format | ||||
---|---|---|---|---|
| ||||
# Surface model gridding
z ;# Erase screen
win demo ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
spe bgc whi ;# Specify background color to white
mak ran 11 ;# Make 11 random points
poi 2 ;# Display point with size width 2
gsu 222 222 ;# Make grid of dimension 222 x 222
map ;# Map the grid
{noformat}
|
The
...
above
...
example
...
produces
...
this
...
image.
...
Grid surface example
See also
gen - Generate grid, grp - Grid points and lines, fmo - Fast modelling, trg - Triangulate point data