Psmap simple example: Difference between revisions
Jump to navigation
Jump to search
(add another example) |
mNo edit summary |
||
Line 47: | Line 47: | ||
EOF | EOF | ||
</pre> | </pre> | ||
[[Category: ps.map]] |
Revision as of 12:18, 3 July 2008
- Back to ps.map sample script page.
- See the ps.map help page for explanations of each map instruction.
Very simple example
This example plots a raster map with title and legend.
# Spearfish dataset raster elevation.10m header end colortable where 0.75 1.5 end end
Simple example
# Simple ps.map example using the Spearfish dataset g.region rast=elevation.10m ps.map output=spearfish.ps << EOF paper us-letter end scale 1:120000 raster elevation.10m colortable where 2 6.75 end text 50% -7% Spearfish County, ND (Mount Rushmore) fontsize 16 end mapinfo where 4.5 7.25 end vlines roads where label ~ 'highway' OR label = 'interstate' color grey end vpoints archsites symbol basic/triangle end end EOF