request for help getting postscript files out of grass4.0

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


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)

(1) o Display the map in a GRASS X-Windows Display
    o run: xwd | xwdtopnm | ppmtops -scale X > (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 (if you have it compiled) and
      run with your scale set to 8inches.  Run the script.
      (This put a file paint.ppm in your home dir)
    o run: ppmtops -scale .75 - >

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] Internet    or: (501) 575-4575

More information about the grass-dev mailing list