GQOPSG(3NCARG)
β¨ GQOPSG β¨ (aka the NCAR Graphics girlies' guide to Inquire name of open segment)
okay bestie, pull up a chair, we're in the 3NCARG section of the manual and this one is short and sweet but like, actually so useful π
GQOPSG returns the name of the currently open segment. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
CALL GQOPSG(ERRIND,SGNA)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/gks.h>
void ginq_name_open_seg(Gint *err_ind, Gint *name_open_seg);
π DESCRIPTION π
ERRIND(Integer, Output) β so here's the tea: if the GKS state isSGOP(segment open), thenERRINDcomes back as"0"β¨. otherwise?ERRINDis returned as"4". no in-between, it's giving binary, it's giving yes-or-no, periodt.SGNA(Integer, Output) β if the GKS state isSGOP(segment open), thenSGNAis returned as the number of the currently open segment, iconic, we love a lil name reveal π. otherwiseSGNAis undefined. like, not zero, not garbage-with-a-vibe, just undefined β do not look at it, do not touch it, do not build your whole plot on it. π«Ά
π¨ real talk: if you're not inSGOP,SGNAis undefined. checkERRINDfirst, always. no cap.
π ACCESS π
to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the whole entry requirement, bestie, go wild π
π SEE ALSO π
Online: gevtm, gactm, gclsg, gcrsg, gcsgwk, gdsg, gqsgus, gssgt., ginq_name_open_seg
Hardcopy: "User's Guide for NCAR GKS-0A Graphics"
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
so yeah, that's GQOPSG in the 3NCARG manual, straight outta the UNIX pages, dated March 1993 π she's vintage, she's reliable, she ate and left no crumbs. mwah π
β¨
π¦ 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