GSTXCI(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ 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:

  • 0 is the background color index πŸŒ™
  • 1 is 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 (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