Hatching/patterning programs
Mark Johnson
johnson at zorro.cecer.army.mil
Fri Jan 8 10:49:48 EST 1993
GRASS's p.map system has the ability to assign
colors to chosen values of a raster map and/or
assign user or builtin hatching patterns to
chosen values. For example:
setcolor 1 124
defpat diag
00001
0001
001
01
1
color 1 black
end
setpat 1 diag
This will set the color of category 1 to white
define a pattern called diag with black diagonal
lines and assign that pattern to category 1 of the
current raster map. More examples are in the
g.manual entry for p.map .
Enjoy
Mark Johnson - USACERL
More information about the grass-user
mailing list