Psmap fill patterns: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Find instructions to create custom fill patterns [[ | * Find screenshots and instructions to create custom fill patterns [[AreaFillPatterns|here]]. | ||
* Find more ''ps.map'' example scripts [[Ps.map_scripts|here]]. | |||
<pre> | <pre> | ||
Line 5: | Line 6: | ||
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 19: | ||
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 30: | ||
where label ~ 'Liston#3' | where label ~ 'Liston#3' | ||
fcolor black | fcolor black | ||
label Liston#3 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 26: | Line 36: | ||
where label ~ 'Cartwright#1' | where label ~ 'Cartwright#1' | ||
fcolor black | fcolor black | ||
label Cartwright#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 31: | Line 42: | ||
where label ~ 'Biggam#2' | where label ~ 'Biggam#2' | ||
fcolor black | fcolor black | ||
label Biggam#2 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 36: | Line 48: | ||
where label ~ 'Biggam#6' | where label ~ 'Biggam#6' | ||
fcolor black | fcolor black | ||
label Biggam#6 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 41: | Line 54: | ||
where label ~ 'McCandles#6' | where label ~ 'McCandles#6' | ||
fcolor black | fcolor black | ||
label McCandles#6 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 46: | Line 60: | ||
where label ~ 'Seagall#1' | where label ~ 'Seagall#1' | ||
fcolor black | fcolor black | ||
label Seagall#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 51: | Line 66: | ||
where label ~ 'Portillo#1' | where label ~ 'Portillo#1' | ||
fcolor black | fcolor black | ||
label Portillo#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 56: | Line 72: | ||
where label ~ 'Krenshaw#8' | where label ~ 'Krenshaw#8' | ||
fcolor black | fcolor black | ||
label Krenshaw#8 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 61: | Line 78: | ||
where label ~ 'Donavan#1' | where label ~ 'Donavan#1' | ||
fcolor black | fcolor black | ||
label Donavan#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 66: | Line 84: | ||
where label ~ 'Mitchell#5' | where label ~ 'Mitchell#5' | ||
fcolor black | fcolor black | ||
label Mitchell#5 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 71: | Line 90: | ||
where label ~ 'Natl. Forest' | where label ~ 'Natl. Forest' | ||
fcolor black | fcolor black | ||
label Natl. Forest | |||
end | end | ||
vareas fields | vareas fields | ||
Line 76: | Line 96: | ||
where label ~ 'Krenshaw#4' | where label ~ 'Krenshaw#4' | ||
fcolor black | fcolor black | ||
label Krenshaw#4 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 81: | Line 102: | ||
where label ~ 'Wales#1' | where label ~ 'Wales#1' | ||
fcolor black | fcolor black | ||
label Wales#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 86: | Line 108: | ||
where label ~ 'Mitchell#4' | where label ~ 'Mitchell#4' | ||
fcolor black | fcolor black | ||
label Mitchell#4 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 91: | Line 114: | ||
where label ~ 'Reed#1' | where label ~ 'Reed#1' | ||
fcolor black | fcolor black | ||
label Reed#1 | |||
end | end | ||
vareas fields | vareas fields | ||
Line 96: | Line 120: | ||
where label ~ 'Mitchell#1' | where label ~ 'Mitchell#1' | ||
fcolor black | fcolor black | ||
label Mitchell#1 | |||
end | end | ||
end | end | ||
EOF | EOF | ||
</pre> | </pre> | ||
[[Category: ps.map]] |
Latest revision as of 07:58, 20 May 2009
- Find screenshots and instructions to create custom fill patterns here.
- Find more ps.map example scripts 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