GSET_MARKER_COLR_IND(3NCARG)

πŸ’– GSET_MARKER_COLR_IND πŸ’–

okay bestie, welcome to the NCAR GRAPHICS corner of the manual, aka 3NCARG, and today's main character is gset_marker_colr_ind β€” the "Set polymarker color index" girlie. she sets the polymarker color index. that's it, that's the job, and she ate. ✨


✨ NAME ✨

gset_marker_colr_ind β€” (Set polymarker color index) β€” sets the polymarker color index. no cap, that's literally her whole personality. πŸŽ€


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void gset_marker_colr_ind(Gint marker_colr_ind);

πŸ¦‹ DESCRIPTION πŸ¦‹

  • marker_colr_ind β€” (Input) β€” a color index. that's the whole vibe. you hand her a number, she hands the polymarkers a color. πŸ’…

πŸ‘‘ USAGE πŸ‘‘

so here's the tea, fr fr: every single polymarker drawn with calls to the GPM output primitive will be drawn with the color associated with index marker_colr_ind β€” and it stays that way until gset_marker_colr_ind gets called again and a fresh new index is assigned. she's committed like that. 🫢

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. iconic range, honestly.

color values get associated with indices by calls to the GKS routine gset_colr_rep. so 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 will be assigned to that index. not me rolling the dice on the device's mood 😭 that's just how it is though.


πŸ”₯ ACCESS πŸ”₯

to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. load them. both. don't skip leg day. πŸ’ͺ


🌈 SEE ALSO 🌈

Online:

  • gpolymarker(3NCARG)
  • gset_marker_type(3NCARG)
  • gset_marker_size(3NCARG)
  • gset_colr_rep(3NCARG)
  • ginq_marker_type(3NCARG)
  • ginq_marker_size(3NCARG)
  • ginq_marker_colr_ind(3NCARG)
  • point(3NCARG)
  • points(3NCARG)
  • gks(3NCARG)
  • ncarg_gks_cbind(3NCARG)

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.


periodt. that's the whole page. go forth and color your polymarkers, bestie. πŸ“

this was the UNIX flavor of the page, dated March 1993 β€” yes she's an elder icon and she still slays, mwah πŸ’‹