Re: [Fwd: gmeta.test]

From: Mary Haley (haley@XXXXXX)
Date: Wed Apr 30 2003 - 09:56:24 MDT

  • Next message: Crystal Shaw: "ncar graphics on linux cluster"

    > Nishikawa, Ken-Ichi writes:
    > >
    > > Hello Crystal,
    > >
    > > Thanks fro your information for better letterings with NCAR
    > graphics.
    > >
    > >
    > > call opngk
    > > call gsclip (0)
    > >
    > > I added these three lines.
    > >
    > > call gopks(1,IDUMMY)
    > > call gopwk(1,0,27)
    > > call gacwk(1)
    > >
    > > Is this the way to create postscript instead of gmeta file?
    > >
    > > Thanks,
    > >
    > > Ken

    Dear Ken,

    You are close. You need to make sure you remove or comment out the
    calls to "opngks" and "clsgks", and replace them with something like:

    C
    C Initialize GKS.
    C
          call gopks (6, IDUMMY)
          call gopwk (1, 2, 20)
          call gacwk (1)
    ...

    C
    C Close GKS.
    C
          call gdawk (1)
          call gclwk (1)
          call gclks

    The third argument to "gopwk" is what determines the type of output
    file you want to create. In this case, "20" stands for a color
    PostScript file in portrait mode. You were giving "gopwk" a value of
    27, which is a color encapsulated PostScript file in landscape
    mode.

    If you don't have any special calls for renaming the PostScript file,
    then you should see a file called "gmeta1.ps" (or "gmeta1.eps" for EPS
    output) after you run your program.

    You can see what other values are available by typing:

        man gopwk

    or visiting the documentation:

        http://ngwww.ucar.edu/ngdoc/ng/gks/wks.html#OpenCloseGks

    --Mary

    > > Crystal Shaw wrote:
    > > >
    > > > Here is what I hear from NCAR support, hope this helps.
    > > > ======================================================
    > > > One thing he can do is have his output go directly to PostScript
    > (instead of an
    > > > NCGM file), and then your fonts will look nice.
    > > >
    > > > For more information about going directly to PostScript, and the
    > > > fonts, go to:
    > > >
    > > > http://ngwww.ucar.edu/ngdoc/ng/gks/ps.html
    > > >
    > > > ----
    > > > -Crystal
    > >
    >
    > ----
    > -Crystal
    >
    > --------------4DB8336598EE71943A3E884D--
    > _______________________________________________
    > ncarg-talk mailing list
    > ncarg-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
    >

    -- 
    -------------------------------------------------
    Mary Haley                   haley@ucar.edu
    NCAR/SCD/VETS                303-497-1254 (voice)
    1850 Table Mesa Dr           303-497-1804 (fax)
    Boulder, CO  80305
    -------------------------------------------------
    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
    



    This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 10:01:06 MDT