GSPLCI(3NCARG)
π GSPLCI β it's giving "polyline color index" β¨
okay bestie, so this is a page from the NCAR GRAPHICS manual, and it's literally about setting the polyline color index. That's it. That's the whole vibe. π
πΈ NAME πΈ
GSPLCI (Polyline color index) β sets the polyline color index. periodt.
π¦ SYNOPSIS π¦
CALL GSPLCI (COLI)
β¨ C-BINDING SYNOPSIS β¨
for the C girlies, you're including this:
#include <ncarg/gks.h>
void gset_line_colr_ind(Gint line_colr_ind);
π DESCRIPTION π
COLI(Integer, Input) β a color index. that's the whole thing she needs from you. just a number. iconic. π
π USAGE π
okay so here's the tea. every line you draw with calls to the GPL output primitive will be drawn with the color associated with index COLI β and it stays that way until GSPLCI gets called again and a new index is assigned. so like, it's sticky. she remembers. no cap. π
for all GKS output primitives, color is assigned using a color index. the color indices run from 0 to 255, where 0 is the background color index and 1 is the foreground color index. noted. π«Ά
color values get associated with indices by calls to the GKS routine GSCR. and if you use a color index that has no user-assigned color value set in a GSCR call? then a device-dependent color value will be assigned to that index. so like, it's not undefined bestie, it's just β¨device-dependentβ¨ β meaning you don't get to pick, the device does. π
π₯ ACCESS π₯
to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the whole access situation. go off. β
π SEE ALSO π
Online: gpl, gsln, gslwsc, gscr, gqln, gqlwsc, gqplci, dashline, gset_line_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.
and that's the page, bestie β GSPLCI(3NCARG), straight out of the UNIX manual, dated March 1993, from the NCAR Graphics source. mwah. πππ¦
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms