GOPKS(3NCARG)

GOPKS(3NCARG) πŸ’–

okay bestie, welcome to the NCAR GRAPHICS corner of the manual, this is gopks, and she is literally the opening act β€” the girl who opens the GKS package for you. no cap.


✨ NAME ✨

gopks β€” opens the GKS package πŸŽ€


✨ SYNOPSIS ✨

CALL GOPKS (ERRFIL, BUFA)

✨ C-BINDING SYNOPSIS ✨

like, for the C girlies 🫢

#include <ncarg/gks.h>

void gopen_gks(const char *err_file, size_t mem_unit);

✨ DESCRIPTION ✨

  • ERRFIL β€” (Input, Integer) β€” the Fortran unit number where your error messages are gonna get written. typically you want this to be unit 6. that's the vibe. πŸ’…
  • BUFA β€” (Input, Integer) β€” the dimension of an internal buffer. and here's the tea β˜•: currently in NCAR GKS-0A, BUFA is ignored. like she's there, she's invited, but she's not doing anything. iconic of her honestly.

✨ USAGE ✨

so to get output to any workstation, you gotta call these three in this exact order, no skipping, no shuffling:

  1. GOPKS
  2. GOPWK
  3. GACWK
order matters bestie, do NOT freestyle this πŸ’€

BUT β€” and this is the plot twist 🌸 β€” if your job is producing only CGM output, you can replace all three of those calls (GOPKS, GOPWK, GACWK) with a single call to the SPPS function OPNGKS. one call instead of three. lowkey efficient. ate. ✨


✨ ACCESS ✨

to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. that's the key to the whole kingdom, fr fr. πŸ”‘


✨ SEE ALSO ✨

Online: gopwk, gacwk, gdawk, gclwk, gclks, guwk, opngks, clsgks, gopen_gks

Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

like go read the whole friend group, they all link up πŸ¦‹


Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement. πŸ“œ


and that's the whole page, bestie β€” this was the UNIX version, dated March 1993, and yeah the source is literally GOPKS(3NCARG). go open that GKS package, you're the main character now πŸ‘‘πŸ’–