GSET_MARKER_SIZE(3NCARG)

πŸ’… GSET_MARKER_SIZE πŸ’…

okay bestie, welcome to the NCAR Graphics corner of the man pages β€” yes, this is a 3NCARG moment, we're in library-call territory, and today's main character is gset_marker_size. she's small, she's simple, she sets the polymarker size scale factor. that's it. that's the gig. ✨


πŸŽ€ NAME πŸŽ€

gset_marker_size (Set marker size scale factor) β€” she sets the polymarker size scale factor, aka the relative size of the marker. no cap, that's literally her whole job description. πŸ¦‹


🌸 SYNOPSIS 🌸

okay so here's how you slide into her DMs:

#include <ncarg/gks.h>

void gset_marker_size(Gdouble marker_size);

that's the whole vibe. one include, one function, one argument. iconic behavior fr fr. πŸ’–


✨ DESCRIPTION ✨

  • marker_size (Input) β€” a scale factor that controls the size of the marker. she has rules though: it must be greater than or equal to 0. no negative energy allowed in this house πŸ™…β€β™€οΈ

and here's the tea on how the scaling works: since marker_size = 1.0 by default, setting marker_size = 2.0 doubles the polymarker size. so like... you're literally just multiplying the marker's whole existence. math is beautiful, periodt. πŸ’…


πŸ”₯ ACCESS πŸ”₯

to actually use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. load them. both of them. don't skip one, that's giving "it doesn't compile and I don't know why" energy and we are NOT doing that today bestie 😭


🌈 SEE ALSO 🌈

πŸ’» Online

  • gpolymarker(3NCARG)
  • gset_marker_type(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

the whole friend group is listed above, go say hi, they're all in the same polycule of marker-related functions 🫢


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


⭐ reminder bestie: marker_size has to be >= 0. negative values? not the vibe. don't do it. πŸ™ˆ

okay that's the whole page, we ate and left no crumbs πŸ“ this was GSET_MARKER_SIZE(3NCARG) from NCAR Graphics, UNIX, dating all the way back to March 1993 β€” yeah she's vintage, she's a classic, and she still slays. bye bestie, go draw some correctly-sized markers πŸ’œπŸ§šβ€β™€οΈ