/* makehsv.aml /* aml to construct grids and coverages needed to make an HS(V) color chart /* Ralph Haugerud, U.S. Geological Survey /* Harvey Greenberg, Geological Sciences, University of Washington /* April 1998 /* rhaugerud@usgs.gov, hgreen@u.washington.edu /* to be run from arc /* output is 3 grids: hgrid with values from 0 to 360 (left to right) /* sgrid with values from 0 to 100 (bottom to top) /* vgrid = 98 /* and one coverage of lines, hscov, that rule hue-saturation space /* into 10x10 cells /* The following whistle--or something similar--can be added to most AMLs. &if [show program] ne 'ARC' &then &return This aml must be run from the arc prompt. /* make a line coverage to rule off hue - sat space generate hscov fishnet 1,1 /* origin 1,10 /* y-axis coordinate 10,10 /* cell size 10,36 /* number of rows, columns quit /* make H, S, and V grids GRID setwindow 1 1 361 101 setcell 1 hgrid = $$colmap sgrid = 100 - $$rowmap vgrid = 98 QUIT &return