Re: printing NCARG files on full page area

From: Martin Janousek (Martin.Janousek@XXXXXX)
Date: Fri May 25 2001 - 00:24:58 MDT

  • Next message: Dr. John W. Glendening: "Missing GFLAS-created file"

    On 24 May 01, at 11:07, Kate Hedstrom wrote:
    > > I'm an MM5 user and I wonder if there is a simple answer to my question.
    > >
    > > I'm using the NCARGRAPHICS utilities to plot and print output of MM5.
    > > The question is how to make plots that cover full page ?
    >
    > There is a way to edit the ascii version of the graphcap file
    > and convert it to the binary graphcap file. I did this once,
    > but neglected to repeat the procedure when NCARG got updated.
    >
    > I now take a different approach. Take the default postscript file,
    > run it through ps2epsi, then scale the resulting eps file in some other
    > application such as xfig. It is very simple in xfig - import as a
    > picture object, scale it as desired, then export as postscript.
    >

    I go even a bit further in the way Kate described. The described
    procedure is fine but you have always to reconsider scaling when your
    plot changes its geometry.
    To make it a bit more automatic I take the values of the "Bounding
    Box" got on the output of ps2epsi. A small program reads those
    values, consider how to scale/translate/rotate the picture for the
    best fit to the target paper format and then edits the original
    postscript file. It works for NCAR Graphics direct postscripts only
    (not for outputs of ctrans).

    Martin

    ------------------------------

    Martin Janousek

       Head of Numerical Weather Prediction Division

       Cesky hydrometeorologicky ustav
       Czech Hydrometeorological Institute

       Na Sabatce 17 phone: (+420 2) 44 03 2242
       143 06 Praha 4 fax: (+420 2) 44 03 2218
       Czech Republic e-mail: janousek@chmi.cz
       http://www.chmi.cz/

    -------------------------



    This archive was generated by hypermail 2b29 : Fri May 25 2001 - 08:37:27 MDT