|
PostScript DISPLAY DRIVERPS display driver to create PostScript files.DESCRIPTIONThe PS driver generates a PostScript file from GRASS display commands.USAGEEnvironment variablesThe PS driver can be enabled by setting GRASS_RENDER_IMMEDIATE variable, eg.export GRASS_RENDER_IMMEDIATE=psSeveral environment variables affect the operation of the PS driver:
Exampleexport GRASS_RENDER_IMMEDIATE=ps export GRASS_RENDER_TRUECOLOR=TRUE g.region raster=elevation d.rast elevation d.vect roadsmajor color=redThis writes a file named map.ps in your current directory. NOTESThe resolution of the output files is defined by current region extents. Use g.region -p to get the number of rows and cols and use the environment variables to set the image size. If you would like a larger image, multiply both rows and cols by the same whole number to preserve the aspect ratio.GRASS_RENDER_TRUECOLOR requires either PostScript level 2 or level 1 plus the colorimage and setrgbcolor operators (this is the case for colour printers which pre-date level 2 PostScript). Masked images (d.rast, d.rgb, d.his -n) require PostScript level 3. SEE ALSOCairo driver, PNG driver, HTML driver, variablesd.rast, d.vect, d.mon, d.erase, d.redraw AUTHORGlynn Clements, 2007Main index | Topics index | Keywords index | Graphical index | Full index © 2003-2021 GRASS Development Team, GRASS GIS 7.8.6 Reference Manual
Visit the GSP FreeBSD Man Page Interface. |