request for help getting postscript files out of grass4.0

John E. Parks john at tang.uark.edu
Tue Feb 18 16:14:46 EST 1992


Joe,

To get a grass map to color PostScript, I can think if two ways...
  both require that you have the ppm software (comes with grass)
  compiled.

(1) o Display the map in a GRASS X-Windows Display
    o run: xwd | xwdtopnm | ppmtops -scale X > filename.ps (where X is 
      some value like .8 just small enough that ppmtops does not complain
      about the image being too wide... trial and error)

(2) o select the driver ppm in p.select (if you have it compiled) and
      run p.map with your scale set to 8inches.  Run the p.map script.
      (This put a file paint.ppm in your home dir)
    o run: ppmtops -scale .75 - > filename.ps

Hope this helps...

    __                   __ 
   /  )      /          /  )     Research Specialist
  /   / _   /_  _      /__/      Ctr for Advanced Spatial Technologies
  (__/_(_)_/ /_/ )_   /   _      National Ctr for Resource Innovations
    /                            12 Ozark Hall, Univ. of Arkansas
   /                             Fayetteville, AR  72701
John E. Parks                    phone: (501) 575-6159
[john at tang.uark.edu] Internet    or: (501) 575-4575



More information about the grass-dev mailing list