GCSGWK(3NCARG)

✨ NAME ✨

GCSGWK β€” bestie, it copies a GKS segment to a GKS workstation πŸ¦‹

Like, that's it. That's the whole job. And it ate. πŸ’…


✨ SYNOPSIS ✨

CALL GCSGWK(WKID,SGNA)

🌈 C-BINDING SYNOPSIS 🌈

okay so if you're doing the C thing instead of the Fortran thing, you gotta pull in the header first, no cap:

#include <ncarg/gks.h>

void gcopy_seg_ws(Gint ws_id, Gint seg_name);

πŸ’– DESCRIPTION πŸ’–

So there's two arguments and you literally cannot skip either of them, they're both required:

  • WKID (Integer, Input) β€” the workstation identifier, aka the one you already set up in a GOPWK call. This is the workstation that's receiving the segment copy. She's the destination, the main character of the receiving end. πŸ“¬
  • SGNA (Integer, Input) β€” the segment that's getting copied over to that workstation. πŸŽ€
🚨 WAIT. Important, bestie: SGNA must have been used in a previous call to GCRSG. Like, that segment has to already exist. You can't copy a segment that was never created β€” that's not a vibe, that's an error. Create first, then copy. Periodt. πŸ’€

πŸ”‘ ACCESS πŸ”‘

Wanna actually use the GKS routines? Load up the NCAR GKS-0A library ncarg_gks and you're good to go. That's the whole access requirement, slay. ✨


πŸ‘€ SEE ALSO πŸ‘€

Online, the whole friend group: gevtm, gactm, gclsg, gcrsg, gdsg, gqopsg, gqsgus, gssgt., gcopy_seg_ws 🌸

Hardcopy, for the girlies who like paper: "User's Guide for NCAR GKS-0A Graphics" πŸ“–


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 little icon was living in the UNIX section of the NCAR Graphics manual, dated March 1993, filed under GCSGWK(3NCARG) β€” go forth and copy those segments responsibly, ily πŸ«Άβœ¨πŸŽ€