Unknown macro: {alias}
Name
igg — Interpolated grid to grid operation
Syntax
igg add | sub | mul | div | lt | gt | rep [und] workspacename
Description
General grid to grid operation that does not require that the grids involved has the same size and position.
Arguments
workspacename
add
sub
mul
div
lt
gt
rep
und
Examples
Ex.1: Adding grids of unequal dimension
# Adding grids of unequal dimension z ;# Erase screen win demo ;# Get demo window (450000 460000 6450000 6460000 1000 4000) spe bgc whi ;# Specify background color to white mak ran 12 z 100 700 ;# Make 12 random points between 100 and 700 grp 222 222 ;# Make grid of dimension 222 x 222 eli gt 500 ;# Eliminate greater than 500 mhi mygrid ;# Save the grid ewi 25 ;# Expand the grid 25% in xy direction mak ran 11 ;# Make 11 random points grp 300 300 ;# Make grid of dimension 300 x 300 bol 2 ;# Draw the border layout igg sub mygrid ;# Add the two grids of different dimension together ssc ;# Scale new dataset acm n 11 sma ;# Map the result grid using color bands
The above example produces this image.
Border layout of adding grids and result grid
See also
add - Add to dataset , eli - Eliminate points , rep - Replace , und - Undefined change