Color display disappeared

From: Cam V. Tran (trancv AT unknown)
Date: Wed Jul 26 1995 - 15:52:31 MDT


The following is so basic that I hope NCAR developers/users
might give me answer(s) quite instantly. Say, I'm doing
some simple plotting, outputting to a (new X11) window and
ALSO to a meta file. Essentially, it goes like this:

c Open gks package, open and activate workstation(s)
      call gopks (6, ignored)
      call gesc (-1391, 1, metafil, 1, 1, ch_ignored)
      call gopwk (1, 2, 1)
      call gopwk (10, 2, 8)
      call gacwk (1)
      call gacwk (10)
c
c....Plotting (doing several plots)
c
c Deactive and close workstation(s), and clse gks package
        call gdawk(1)
        call gclwk(1)
        call gdawk(10)
        call gclwk(10)
        call gclks

Here, "metafil" is the variable for the name of the output
metafile; "ignored" and "ch_ignored" are dummy stuff.

The metafile has several frames and all are colorful (as plots
used markers and lines) when displaying using ctrans. However,
the direct output to a new X11 window has only the first plot
appeared in color and subsequently appeared in the normal white
on black background. Is there any way to make the color plots
displayed after the first plot?

I'm using the direct plotting (to a new X11 window) for an
interactive demo. Outputting to a graphic metafile is fine,
but it's more suitable for a batch job.

Any help/pointers/suggestions are appreciated.

Cam Tran (trancv AT unknown)
NRaD - Code 761
San Diego, CA 92152-5000
_______________________________________________________________



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:40:25 MDT