GSTXCI(3NCARG)
β¨ GSTXCI β¨ β the NCAR Graphics glow-up for your text color
okay bestie, quick vibe check: this is a page from the NCAR GRAPHICS manual set, and today's main character is GSTXCI, aka Set text color index. That's literally all it does, and honestly? She does it flawlessly. π
NAME
GSTXCI (Set text color index) β sets the text color index. no cap, that's the whole job description. π
SYNOPSIS
CALL GSTXCI (COLI)
C-BINDING SYNOPSIS
#include <ncarg/gks.h>
void gset_text_colr_ind(Gint text_colr_ind);
DESCRIPTION
COLIβ (Integer, Input) β a color index. that's it, that's the argument, she's simple and she's iconic π¦
USAGE
so here's the tea β every single text string you draw with calls to the GTX output primitive will be drawn in the color tied to index COLI β and it stays that way until you call GSTXCI again and hand it a new index. the color commitment is real, periodt. π
for all GKS output primitives, color gets assigned via a color index. those indices run from 0 to 255, where:
0is the background color index π1is the foreground color index β
color values get hooked up to those indices by calls to the GKS routine GSCR. and here's the plot twist π β if you use a color index that has no user-assigned color value set in a GSCR call, then a device-dependent color value gets assigned to that index instead. not you rolling the dice on your palette, bestie. π
ACCESS
to use GKS routines, load the NCAR GKS-0A library ncarg_gks. load her up, she's ready π
SEE ALSO
Online: gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschup, gschxp, gscr, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, gset_text_colr_ind
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
COPYRIGHT
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
fr fr, read the License Agreement. it's giving legally binding, not giving optional. π
and that's the whole page, bestie β slay π this little love letter to GSTXCI comes to you from the UNIX manual, March 1993 edition. iconic since day one, no notes. πβ¨π¦
π¦ 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