GCRSG(3NCARG)
β¨ GCRSG β¨ (aka Create segment) β it's giving "make me a GKS segment" π
ok so bestie, this is a page from the NCAR GRAPHICS manuals, and it's about one tiny little subroutine that does one tiny little thing: it creates a GKS segment. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
CALL GCRSG(SGNA)
like, that's the whole call. one argument. one dream. slay. β¨
π» C-BINDING SYNOPSIS π»
for my C girlies, you get a header and a whole function:
#include <ncarg/gks.h>
void gcreate_seg(Gint seg_name);
π¦ DESCRIPTION π¦
SGNAβ (Integer, Input) β this is the segment identifier, bestie. it's the name-tag your segment wears, and it's what you'll use in all the later segment function calls that apply to this segment. so pick it with intention. π
some ground rules, and these are not negotiable:
- there can be a maximum of 100 segments in a given job step. one hundred. that's the ceiling. π«Ά
- legal values for
SGNAare integers between 0 and 99 inclusive. so0through99, nothing else, no funny business.
ngl if you try to go outside0β99you are simply not living the legal-value lifestyle. stay in your lane, it's a nice lane. π
π ACCESS π
to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. no library, no segments, no nothing. load it up. πβ¨
π SEE ALSO π
Online: gevtm, gactm, gclsg, gcsgwk, gdsg, gqopsg, gqsgus, gssgt., gcreate_seg
Hardcopy: "User's Guide for NCAR GKS-0A Graphics"
go read the whole friend group, they all hang out together. π
Β©οΈ COPYRIGHT Β©οΈ
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
ok that's the whole page, you ate it, you understood it, main character energy achieved. this was the GCRSG(3NCARG) page from the NCAR GRAPHICS manual β UNIX flavour, dated March 1993 (yes she's an icon, yes she's been iconic for decades, periodt). ππΈπ¦
π¦ 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