GSLWSC(3NCARG)

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

✨ GSLWSC ✨ β€” it's giving Set linewidth scale factor πŸ’…

okay bestie, so this is a page from the NCAR GRAPHICS manual, and it's literally just GSLWSC β€” short for Set linewidth scale factor β€” and it does exactly one iconic thing: it sets the linewidth scale factor, aka the relative thickness of a polyline. that's it. that's the whole job. queen behavior honestly. πŸ‘‘


🌸 NAME 🌸

GSLWSC (Set linewidth scale factor) β€” sets the linewidth scale factor, or relative thickness of a polyline. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

CALL GSLWSC (LWIDTH)

πŸ’œ C-BINDING SYNOPSIS πŸ’œ

so if you're doing the C thing instead (iykyk), you include this:

#include <ncarg/gks.h>

void gset_linewidth(Gdouble linewidth);

✨ DESCRIPTION ✨

  • LWIDTH β€” (Real, 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 negative linewidths bestie, that's not a thing. LWIDTH gets applied to the nominal linewidth on whatever device you're on, and then the linewidths get mapped to the nearest available linewidth that the device can actually represent. so like, the device has a menu of thicknesses and you get the closest one. πŸ’…
  • by default LWIDTH = 1.0, so setting LWIDTH = 2.0 will double the line width on most devices. fr fr, that's the glow-up. πŸ”₯

πŸ”‘ ACCESS πŸ”‘

to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the vibe check you gotta pass first. 🫢


πŸ‘€ SEE ALSO πŸ‘€

Online: gpl, gsln, gscr, gsplci, gqln, gqlwsc, gqplci, dashline, gset_linewidth

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.

bestie this is the legal bit, don't skip it, the License Agreement is the main character here 🫑

and that's the whole page, no cap. go forth and make your polylines thicc. πŸ’–

mwah πŸ’‹ β€” this was the UNIX version of GSLWSC(3NCARG), dated March 1993, and yes she's vintage and she ate. periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from