Psmap fill patterns: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 1: Line 1:
* Find instructions to create custom fill patterns [[AreaFillPatterns|here]].
* Find screenshots and instructions to create custom fill patterns [[AreaFillPatterns|here]].
* Find more ''ps.map'' example scripts [[Ps.map_scripts|here]].
* Find more ''ps.map'' example scripts [[Ps.map_scripts|here]].



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