GSET_LINE_COLR_IND(3NCARG)
β¨ NAME β¨
gset_line_colr_ind (aka the Polyline color index glow-up) β bestie, it sets the polyline color index π
This one lives in the 3NCARG manual, so you already know it's giving classic NCAR Graphics energy π
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void gset_line_colr_ind(Gint line_colr_ind);
π DESCRIPTION π
line_colr_indβ (Input) a color index. That's it, that's the whole argument, she's lowkey simple like that π
π¦ USAGE π¦
Okay so here's the tea β β every single line you draw by calling the gpolyline output primitive gets drawn in the color tied to the index line_colr_ind, and it keeps that vibe until you call gset_line_colr_ind again with a fresh index. No cap.
For all GKS output primitives, color is assigned using a color index. Those indices run from 0 to 255, where 0 is the background color index and 1 is the foreground color index. Iconic. π
Color values get associated with indices by calls to the GKS routine gset_colr_rep. And here's the part you need to know, fr fr: if you use a color index that has no user-assigned color value set in a gset_colr_rep call, then a device-dependent color value gets assigned to that index. So likeβ¦ it'll be something, just not your something π
π ACCESS π
To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. Periodt. π«Ά
β SEE ALSO β
Online:
gpolyline(3NCARG)gset_linetype(3NCARG)gset_linewidth(3NCARG)gset_colr_rep(3NCARG)ginq_linetype(3NCARG)ginq_linewidth(3NCARG)ginq_line_colr_ind(3NCARG)dashline(3NCARG)gks(3NCARG)ncarg_gks_cbind(3NCARG)
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.
π okay that's the whole page, bestie β go set those color indices and slay π β¨
Signing off from the UNIX corner of the manual, dated March 1993 β yes she's an elder icon and she still ate. Source/version: NCAR GRAPHICS. Byeeee π¦π
π¦ 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