Gflash(3NCARG)
π NAME π
Gflash β bestie, this is the whole vibe: it lets you store up segments of a picture so you can drop them into any picture you make later. Like saving a little clip and pasting it into your next masterpiece. β¨
πΈ SYNOPSIS πΈ
Four routines, one glow-up squad:
GFLAS1β starts the storage of plotting instructions. π¬GFLAS2β stops the storage of plotting instructions. βGFLAS3β inserts saved plotting instructions into the output stream. π«GFLAS4β associates the filename of a previously generated picture segment with anidsuitable for use withGFLAS3. π
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
c_gflas1
c_gflas2
c_gflas3
c_gflas4
π ACCESS π
To use Gflash C or Fortran routines, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and preferably in that order, bestie. Order matters, it's giving choreography. π
π MESSAGES π
When error conditions are detected, the support routine SETER is called in such a way that it writes a message to the standard error file (as defined by I1MACH(4)) and then terminates execution. So yeah, not a soft launch β it's a full exit. π
The possible error messages are as follows:
GFLAS1 CALLED CONSECUTIVELY WITHOUT AN INTERVENING GFLAS2 CALLβ You must terminate the usage of one FLASH buffer before reusing it. One at a time, queen. πTHE NON-NCAR GKS PACKAGE IS NOT LEVEL 2β Gflash requires GKS level 2A or higher in order to function in a non-NCAR GKS environment. Gotta be level 2A+ to sit with us. βWISS MUST BE OPEN BEFORE CALL TO GFLAS1β Gflash entries must have access to the appropriate GKS segmentation functions in order to work. This is accomplished by making a call to the GKS entryGOPWKto open WISS.MAXIMUM NUMBER OF OPEN WORKSTATIONS ALLOWED IS 100β You have calledGFLAS1with more than 100 different identifiers. Girl, 100 is the limit. π«ΆBUFFER IDENTIFIER .LT. 0, OR .GT. 99β The argument to Gflash is out of the described range.GKS MUST BE OPEN BEFORE A CALL TO GFLAS1β You have tried callingGFLAS1without opening GKS. A call to the GKS entryGOPWKis required before calling any Gflash entry.GFLAS2 CALLED WITHOUT CALLING GFLAS1βGFLAS2terminates theGFLAS1job of writing plotting instructions to disk.GFLAS2has no functionality if not called in the legal sequence.WISS NOT OPEN AT GFLAS2 TIMEβ Gflash entries must have access to the appropriate GKS segmentation functions in order to work. This is accomplished by making a call to the GKS entryGOPWKto open WISS.GFLAS3 CALLED WITHOUT CALLING GFLAS2 OR GFLAS4βGFLAS3has no access to the plotting instructions that it is to insert into the output metafile unless a call to eitherGFLAS2orGFLAS4is made first. No receipts, no insert. πTHE NON-NCAR GKS PACKAGE IS NOT LEVEL 2β Gflash requires GKS level 2A or higher in order to function in a non-NCAR GKS environment. (Yes bestie, it said it twice. It's that serious.) π₯WISS MUST BE OPEN BEFORE A CALL TO GFLAS4β Gflash entries must have access to the appropriate GKS segmentation functions in order to work. This is accomplished by making a call to the GKS entryGOPWKto open WISS.MAXIMUM NUMBER OF WORKSTATIONS ALLOWED IS 100β You have calledGFLAS1with more than 100 different identifiers.GKS MUST BE OPEN BEFORE A CALL TO GFLAS4β You have tried callingGFLAS4without opening the NCAR GKS package. (TheGFLAS4subroutine is an option only if you are using the NCAR GKS package.) πCANNOT BE CALLED WHILE GFLAS1 IS STILL OPENβ CallGFLAS2to complete theGFLAS1/GFLAS2sequence before attempting to callGFLAS4. Close the chapter first, then start the new one. π
π SEE ALSO π
Online: gflas1, gflas2, gflas3, gflas4, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay that's the whole page, no cap π
this came from the NCAR GRAPHICS manual, Gflash(3NCARG), and it's dated March 1993 β the UNIX flavoured one. go store those segments bestie, you're gonna eat πβ¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms