GPL(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ GPL (Polyline) β€” the NCAR Graphics one, not the license, bestie ✨

okay so real talk: this GPL lives in the NCAR GRAPHICS manual, section 3NCARG. It is not the GNU General Public License. Sorry to the girlies who came here looking for copyleft πŸ’€


πŸ’– NAME πŸ’–

GPL (Polyline) β€” this output primitive draws line segments connecting a sequence of user-specified coordinate pairs. Basically: you hand it points, it connects the dots. Iconic behavior, honestly. πŸŽ€


🌸 SYNOPSIS 🌸

CALL GPL (N, X, Y)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/gks.h>

void gpolyline(const Gpoint_list *point_list);

πŸ’… DESCRIPTION πŸ’…

  • N β€” (Integer, Input) β€” the number of points in the line you're drawing. Heads up: N must be larger than one. Like, a one-point line isn't a line, bestie, that's just a dot. 🫢
  • X (N) β€” (Real Array, Input) β€” the X coordinates of the N points that get connected by line segments. These are specified in world coordinates. 🌍
  • Y (N) β€” (Real Array, Input) β€” the Y coordinates of the N points that get connected by line segments. Also world coordinates, periodt. 🌍

🌈 USAGE 🌈

Read this part, fr fr. The coordinate pairs must be in world coordinates, not user coordinates. That's a whole different vibe.

And because of that (among other things πŸ‘€), the log scaling and mirror-imaging features you can get through the SET call β€” plus the SPPS functions for drawing lines β€” are not applicable here. They simply do not apply. No cap. πŸ’€


πŸ‘‘ ACCESS πŸ‘‘

To use GKS routines, load the NCAR GKS-0A library ncarg_gks. That's the whole assignment. Slay. ✨


πŸ”₯ SEE ALSO πŸ”₯

Online: gsln, gslwsc, gscr, gsplci, gqln, gqlwsc, gqplci, dashline, set, gpolyline

Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version "The Use of X/Y Coordinates in NCAR Graphics" SCD User Document"


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, bestie β€” this one came from the UNIX manual, dated March 1993, filed under GPL(3NCARG) in the NCAR Graphics collection. Old-school but still eating. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from