GPM(3NCARG)

✨ GPM ✨ (a.k.a. the NCAR Graphics glow-up for your data points)

okay bestie, sit down, hydrate, and let me tell you about gpm β€” the polymarker output primitive that draws symmetric symbols. it's giving "i just want a little star on my plot" and honestly? iconic. πŸŽ€


πŸ’– NAME πŸ’–

gpm β€” Polymarker output primitive to draw symmetric symbols πŸ¦‹


🌸 SYNOPSIS 🌸

CALL GPM (N, X, Y)

🧚 C-BINDING SYNOPSIS 🧚

#include <ncarg/gks.h>

void gpolymarker(const Gpoint_list *point_list);

πŸ’… DESCRIPTION πŸ’…

GPM (Polymarker) β€” the polymarker output primitive draws selected symmetric symbols to mark user-specified coordinate positions. literally its whole job. main character energy, zero drama. ✨

  • N β€” (Integer, Input) β€” The number of markers to be drawn. N must be greater than zero. no zero, no negative, we don't do that here. πŸ’€
  • X (N) β€” (Real Array, Input) β€” The X coordinates of the N markers to be drawn, in world coordinates.
  • Y (N) β€” (Real Array, Input) β€” The Y coordinates of the N markers to be drawn, in world coordinates.

🫢 USAGE 🫢

By default, the polymarker type is an asterisk. cute, classic, never misses. ⭐

To select other polymarker types and attributes, see the man page for gsmk. that's where the customization lives, iykyk.

🚨 heads up bestie: the coordinate pairs must be in world coordinates and NOT user coordinates. Among other things, this means that the log scaling and mirror-imaging features available via the SET call and the SPPS functions for drawing dots and markers are not applicable here. so don't come for me when your log scale does nothing, okay? 😭

πŸ‘‘ ACCESS πŸ‘‘

To use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the whole vibe check. 🫑


🌈 SEE ALSO 🌈

Online: gsmk, gsmksc, gscr, gspmci, gqmk, gqmksc, gqpmci, point, points, ngdots, gpolymarker

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 tea, bestie πŸ’œ this whole thing came to you straight out of the UNIX manual, dated March 1993, under the header GPM(3NCARG) β€” slay forever, no cap. πŸ¦‹βœ¨