From fred@niwot.scd.ucar.EDU Wed Aug 10 10:48 MDT 1994
Received: from hao (hao.ucar.edu [128.117.16.4]) by vishnu.hao.ucar.edu (8.6.9/8.6.6.Beta9) with SMTP id KAA00430 for <foster@vishnu>; Wed, 10 Aug 1994 10:48:47 -0600
Received: from cedar.hao.ucar.edu.hao by hao (4.1/SMI-4.1)
	id AA07027; Wed, 10 Aug 94 10:48:46 MDT
Received: from ncar.UCAR.EDU by cedar.hao.ucar.edu.hao (4.1/SMI-4.1)
	id AA28069; Wed, 10 Aug 94 10:48:25 MDT
Received: from niwot.scd.ucar.EDU by ncar.ucar.EDU (NCAR-local/ NCAR Central Post Office 03/11/93)
	id KAA11128; Wed, 10 Aug 1994 10:48:44 -0600
Received: from balzac.scd.ucar.edu.scd.ucar.EDU by niwot.scd.ucar.EDU (NCAR-local/ NCAR Mail Server 04/10/90)
	id KAA15568; Wed, 10 Aug 1994 10:48:43 -0600
Received: by balzac.scd.ucar.edu (NCAR-local/ NCAR Mail Client 04/19/90)
	id KAA02387; Wed, 10 Aug 1994 10:48:42 -0600
From: fred@niwot.scd.ucar.EDU (Fred Clare)
Date: Wed, 10 Aug 1994 10:48:42 -0600
Message-Id: <199408101648.KAA02387@balzac.scd.ucar.edu>
To: foster@ncar.ucar.edu
Subject: metafile output
Content-Type: text
Content-Length: 1104
Status: R

Ben, in thinking about your problem some more last night, I think
it might be easy for me to implement a GKS ESCAPE function that 
would allow you to open a metafile in append mode.  Before pursuing
this any further, I thought I would ask you if this would help you.
It would work something like this:


      CALL GESC(...      ! specify a file name for a metafile to be used
                         ! in the next GOPWK call and to be opened in 
                         ! append mode.
      CALL GOPWK(M,N,1)  ! opens the above-mentioned file in append mode (or
                         ! creates the file if it does not exist).
      CALL GACWK(M)      ! activates file.
        .
        .
        .

       stuff
        .
        .
        .
      CALL GDAWK(M)      ! Deactivate metafile
      CALL GCLKS(M)      ! close metafile.

If you wanted to have two metafiles you were writing to, you could:

  open mf1
  write to mf1
  close mf1
  open mf2
  write to mf2
  close mf2
  open mf1 in append mode
  write to mf1
  close mf1
  etc.

This could be a bit of a pain.  What do you think?

Fred


