NGMFTC(3NCARG)
β¨ NGMFTC β¨ β it's giving "pause the metafile, bestie" π
Okay so, quick vibe check: this is a page from the NCAR GRAPHICS manual, section 3NCARG. The star of the show is NGMFTC, and its whole personality is: temporarily close a metafile output unit so you can open it again later. π
πΈ NAME πΈ
NGMFTC β temporarily closes a metafile output unit allowing for subsequent reopening. π«Ά
π SYNOPSIS π
CALL NGMFTC(WKID)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_ngmftc(int wkid)
β¨ DESCRIPTION β¨
WKIDβ an input variable of typeINTEGERthat specifies the GKS workstation ID you want to temporarily close. That's the whole thing, bestie. One argument. No drama. π
π C-BINDING DESCRIPTION π
Not me having to say this, but: the C binding argument descriptions are the same as the FORTRAN argument descriptions. Same energy, different syntax. π
π USAGE π
Use NGMFTC to close a metafile temporarily so you can reopen it with NGREOP. And the way that this can happen at any time after a metafile workstation has been opened? Iconic. Even mid-picture, mid-drawing, mid-main-character-moment. πΌοΈ
The primary use of NGMFTC is to let you write to more than one metafile in a single job execution. Because NCAR GKS does not allow for having more than a single NCGM workstation open at a time, NGMFTC is your girl: stop output to one metafile while you write to another metafile, then resume output to the initial metafile. Slay. π
If you just want to suspend output to a metafile workstation but you do not need to write to another metafile workstation, simply use the GKS entry GDAWK to deactivate the workstation and GOPWK to reactivate it when you want to resume output. Lowkey simpler, ngl. β¨
For saving the state of all primitive attribute values of an NCGM workstation at the time of the temporary close, and restoring them at the time of the reopen with NGREOP, see the documentation for NGSRAT. π
β οΈ Real talk, bestie: ifNGMFTCis used andNGREOPis not subsequently invoked to reopen the file so that it can be terminated normally in the same job step, then an improperly terminated metafile will result from the temporary close. Not the vibe. Be careful. π
π EXAMPLES π
Assuming that an NCGM workstation, with workstation identifier 1, is open, then
CALL NGMFTC(1)
would temporarily close the workstation. Periodt. π
Use the ncargex command to see the following relevant example: pgkex27. Go look, it's cute. π§
π ACCESS π
To use NGMFTC or c_ngmftc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. Order matters, bestie. Don't test me. πΈ
π MESSAGES π
The argument to NGMFTC must be an NCGM workstation that is open but not active. That's the rule. That's the vibe check. π¦
π SEE ALSO π
Online: ngsrat(3NCARG), ngreop(3NCARG),
Online URL: http://ngwww.ucar.edu/ngdoc/ng/gks/gkshome.html
Hardcopy:
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
π aaaand that's the page!! this one's from theUNIXmanual, datedOctober 1996, and it lives atNGMFTC(3NCARG)in the NCAR Graphics collection. mwah, bye bestie πβ¨π«Ά
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms