Psmap fill patterns: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(add vlegend) |
||
Line 5: | Line 5: | ||
g.region vect=fields | g.region vect=fields | ||
ps.map | ps.map out=spear_patterns.ps << EOF | ||
paper a4 | paper a4 | ||
end | |||
scale 1:115000 | |||
vlegend | |||
where 2 6.5 | |||
width 0.333 | |||
cols 2 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 12: | Line 18: | ||
where label ~ 'Tandy' | where label ~ 'Tandy' | ||
fcolor red | fcolor red | ||
label Tandy | |||
end | end | ||
vareas fields | vareas fields | ||
pat $GISBASE/etc/paint/patterns/cross_diag.eps | pat $GISBASE/etc/paint/patterns/cross_diag.eps | ||
where label = 'C. Krenshaw#1' | where label = 'C. Krenshaw#1' | ||
label C. Krenshaw#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 21: | Line 29: | ||
where label ~ 'Liston#3' | where label ~ 'Liston#3' | ||
fcolor black | fcolor black | ||
label Liston#3 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 26: | Line 35: | ||
where label ~ 'Cartwright#1' | where label ~ 'Cartwright#1' | ||
fcolor black | fcolor black | ||
label Cartwright#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 31: | Line 41: | ||
where label ~ 'Biggam#2' | where label ~ 'Biggam#2' | ||
fcolor black | fcolor black | ||
label Biggam#2 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 36: | Line 47: | ||
where label ~ 'Biggam#6' | where label ~ 'Biggam#6' | ||
fcolor black | fcolor black | ||
label Biggam#6 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 41: | Line 53: | ||
where label ~ 'McCandles#6' | where label ~ 'McCandles#6' | ||
fcolor black | fcolor black | ||
label McCandles#6 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 46: | Line 59: | ||
where label ~ 'Seagall#1' | where label ~ 'Seagall#1' | ||
fcolor black | fcolor black | ||
label Seagall#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 51: | Line 65: | ||
where label ~ 'Portillo#1' | where label ~ 'Portillo#1' | ||
fcolor black | fcolor black | ||
label Portillo#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 56: | Line 71: | ||
where label ~ 'Krenshaw#8' | where label ~ 'Krenshaw#8' | ||
fcolor black | fcolor black | ||
label Krenshaw#8 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 61: | Line 77: | ||
where label ~ 'Donavan#1' | where label ~ 'Donavan#1' | ||
fcolor black | fcolor black | ||
label Donavan#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 66: | Line 83: | ||
where label ~ 'Mitchell#5' | where label ~ 'Mitchell#5' | ||
fcolor black | fcolor black | ||
label Mitchell#5 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 71: | Line 89: | ||
where label ~ 'Natl. Forest' | where label ~ 'Natl. Forest' | ||
fcolor black | fcolor black | ||
label Natl. Forest | |||
end | end | ||
vareas fields | vareas fields | ||
Line 76: | Line 95: | ||
where label ~ 'Krenshaw#4' | where label ~ 'Krenshaw#4' | ||
fcolor black | fcolor black | ||
label Krenshaw#4 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 81: | Line 101: | ||
where label ~ 'Wales#1' | where label ~ 'Wales#1' | ||
fcolor black | fcolor black | ||
label Wales#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 86: | Line 107: | ||
where label ~ 'Mitchell#4' | where label ~ 'Mitchell#4' | ||
fcolor black | fcolor black | ||
label Mitchell#4 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 91: | Line 113: | ||
where label ~ 'Reed#1' | where label ~ 'Reed#1' | ||
fcolor black | fcolor black | ||
label Reed#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 96: | Line 119: | ||
where label ~ 'Mitchell#1' | where label ~ 'Mitchell#1' | ||
fcolor black | fcolor black | ||
label Mitchell#1 | |||
end | end | ||
end | end | ||
EOF | EOF | ||
</pre> | </pre> |
Revision as of 12:53, 5 July 2006
Find instructions to create custom fill patterns here.
# Example of different vareas fill patterns using the Spearfish dataset g.region vect=fields ps.map out=spear_patterns.ps << EOF paper a4 end scale 1:115000 vlegend where 2 6.5 width 0.333 cols 2 end vareas fields pat $GISBASE/etc/paint/patterns/brick.eps where label ~ 'Tandy' fcolor red label Tandy end vareas fields pat $GISBASE/etc/paint/patterns/cross_diag.eps where label = 'C. Krenshaw#1' label C. Krenshaw#1 end vareas fields pat $GISBASE/etc/paint/patterns/cross_diag5.eps where label ~ 'Liston#3' fcolor black label Liston#3 end vareas fields pat $GISBASE/etc/paint/patterns/cross_normal.eps where label ~ 'Cartwright#1' fcolor black label Cartwright#1 end vareas fields pat $GISBASE/etc/paint/patterns/cross_normal5.eps where label ~ 'Biggam#2' fcolor black label Biggam#2 end vareas fields pat $GISBASE/etc/paint/patterns/diag_down.eps where label ~ 'Biggam#6' fcolor black label Biggam#6 end vareas fields pat $GISBASE/etc/paint/patterns/diag_down6.eps where label ~ 'McCandles#6' fcolor black label McCandles#6 end vareas fields pat $GISBASE/etc/paint/patterns/diag_up.eps where label ~ 'Seagall#1' fcolor black label Seagall#1 end vareas fields pat $GISBASE/etc/paint/patterns/diag_up6.eps where label ~ 'Portillo#1' fcolor black label Portillo#1 end vareas fields pat $GISBASE/etc/paint/patterns/diag_up_dash.eps where label ~ 'Krenshaw#8' fcolor black label Krenshaw#8 end vareas fields pat $GISBASE/etc/paint/patterns/diag_down_dash.eps where label ~ 'Donavan#1' fcolor black label Donavan#1 end vareas fields pat $GISBASE/etc/paint/patterns/horiz_line.eps where label ~ 'Mitchell#5' fcolor black label Mitchell#5 end vareas fields pat $GISBASE/etc/paint/patterns/horiz_line6.eps where label ~ 'Natl. Forest' fcolor black label Natl. Forest end vareas fields pat $GISBASE/etc/paint/patterns/horiz_line_dash.eps where label ~ 'Krenshaw#4' fcolor black label Krenshaw#4 end vareas fields pat $GISBASE/etc/paint/patterns/polka_dot.eps where label ~ 'Wales#1' fcolor black label Wales#1 end vareas fields pat $GISBASE/etc/paint/patterns/vert_line.eps where label ~ 'Mitchell#4' fcolor black label Mitchell#4 end vareas fields pat $GISBASE/etc/paint/patterns/vert_line6.eps where label ~ 'Reed#1' fcolor black label Reed#1 end vareas fields pat $GISBASE/etc/paint/patterns/vert_line_dash.eps where label ~ 'Mitchell#1' fcolor black label Mitchell#1 end end EOF