/* plot1.aml /* to make a map simply &args drg /* &args command allows one to pass variables to /* an AML script. &args must be the first executable /* line in a script. It may be preceded by comments and /* blank lines. /* If this script was called with command "&r plot1 fred", /* the &args directive would set variable drg = fred pagesize 8.5 11 /* sets width height of page, in inches clear /* clears the page mapextent image %drg% /* sets the extent (area covered) of the map /* to be that of image %drg% mapunits meters /* not necessary here, but good practice. /* You need to know the units of the map/image mapscale auto /* sets scale so mapextent fills page mapposition CEN CEN /* puts center of mapextent in center of page image %drg% composite 1 2 3 /* draws the image as a composite (multiband) /* assigning band 1 to red, band 2 to green, /* and band 3 to blue &return