GSLWSC(3NCARG)

✨ GSLWSC ✨ (aka the glow-up-your-lines routine, from the NCAR GRAPHICS manual)

okay bestie, listen. this one's short and it's ICONIC. it's a GKS routine, it lives in section 3NCARG, and it does exactly one job: it sets the linewidth scale factor β€” basically the relative thickness of a polyline. that's it. that's the whole vibe. πŸ’…


🌸 NAME 🌸

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


πŸŽ€ SYNOPSIS πŸŽ€

CALL GSLWSC (LWIDTH)

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

for my C girlies, the include is literally right here:

#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 cap. LWIDTH gets applied to the nominal linewidth on whatever device you're on, and then the linewidths get mapped to the nearest available linewidth representable on that device. so like, the device has a vibe check of its own and you get the closest thing to what you asked for. 🫢

by default LWIDTH = 1.0, which means setting LWIDTH = 2.0 will double the line width on most devices. ate. no notes. πŸ‘‘


πŸ”₯ ACCESS πŸ”₯

to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the whole assignment. go off.


🌈 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.


okay that's the whole page, you're so welcome πŸ’œ this was GSLWSC(3NCARG) from the UNIX manual, dated March 1993, and yes she is serving vintage and she is still that girl. mwah. πŸ’‹βœ¨