GINQ_MARKER_COLR_IND(3NCARG)

πŸ’… GINQ_MARKER_COLR_IND πŸ’…

okay bestie, this one lives in the NCAR GRAPHICS manual (that's the 3NCARG part, iykyk) and it's about the GKS C-binding crew. it's short, it's sweet, it's literally just asking the computer "hey girl, what color index is my polymarker using right now?" πŸŽ€


✨ NAME ✨

ginq_marker_colr_ind β€” retrieves the polymarker color index πŸ¦‹


✨ SYNOPSIS ✨

#include <ncarg/gks.h>

void ginq_marker_colr_ind(Gint *err_ind, Gint *marker_colr_ind);

✨ DESCRIPTION ✨

so here's the vibe check on the two arguments, both of which are outputs (the function talks, you listen 🌸):

  • err_ind (Output) β€” if the inquired value can't be handed back to you correctly, a non-zero error indicator shows up here; otherwise you get a big fat zero. and like, if you need the full lore on what each error indicator actually means, go read the "User's Guide for NCAR GKS-0A Graphics". no cap, that's where the answers live. πŸ“–
  • marker_colr_ind (Output) β€” this one returns the polymarker color index, either the one that's set by default or the one you set by calling gset_marker_colr_ind. slay. πŸ‘‘

✨ ACCESS ✨

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. both of them. no skipping, bestie 🫢


✨ SEE ALSO ✨

Online:

  • gpolymarker(3NCARG)
  • gset_marker_type(3NCARG)
  • gset_marker_size(3NCARG)
  • gset_colr_rep(3NCARG)
  • gset_marker_colr_ind(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.


πŸ’œ and that's the whole page, periodt. go forth and inquire about your marker colors, main character.

okay so this was the UNIX version of the page, dated March 1993 β€” yeah, GINQ_MARKER_COLR_IND(3NCARG) has been iconic since before most of us were born πŸ˜­πŸ‘‘ the more you know βœ¨πŸ’–