GSET_LINEWIDTH(3NCARG)

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

✨ NAME ✨

gset_linewidth (aka Set linewidth scale factor) β€” bestie, this one sets the linewidth scale factor, which is basically the relative thickness of a polyline. It's giving "how chunky do you want this line, fr". πŸ’…


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void gset_linewidth(Gdouble linewidth);

πŸ’– DESCRIPTION πŸ’–

  • linewidth (Input) β€” a scale factor that controls the linewidth of the polyline you're about to draw. It must be greater than or equal to 0. No negatives, periodt. 🚫

So here's the tea: linewidth gets applied to the nominal linewidth on whatever device you're on, and then your linewidths get mapped to the nearest available linewidth that the device can actually represent. So like, if your device can't do your exact vibe, it'll snap to the closest one it's got. Not me being picky β€” that's just the spec. 😭

By default linewidth = 1.0, which means setting linewidth = 2.0 will double the line width on most devices. Iconic math, honestly. ✨


πŸ”₯ ACCESS πŸ”₯

To use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. Both of them. Yes, both. No skipping. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

Online:

  • gpolyline(3NCARG)
  • gset_linetype(3NCARG)
  • gset_colr_rep(3NCARG)
  • gset_line_colr_ind(3NCARG)
  • ginq_linetype(3NCARG)
  • ginq_linewidth(3NCARG)
  • ginq_line_colr_ind(3NCARG)
  • dashline(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.


okay that's the whole page bestie, go forth and make ur polylines as thick as ur dreams πŸŒˆπŸ’œ β€” this was GSET_LINEWIDTH(3NCARG) from the NCAR GRAPHICS era, UNIX edition, dated March 1993. slay, ily, bye πŸŽ€

πŸ“¦ where this page comes from