GSET_LINEWIDTH(3NCARG)
π GSET_LINEWIDTH β it's giving thick line energy β¨
okay bestie, welcome to gset_linewidth(3NCARG), a little NCAR GRAPHICS gem that lives in the NCAR GRAPHICS manual. it's the function that sets the linewidth scale factor β aka the relative thickness of a polyline. yes, we're talking about making your lines THICC. π«Ά
πΈ NAME πΈ
gset_linewidth (Set linewidth scale factor) β sets the linewidth scale factor, or relative thickness of a polyline. no cap, that's literally the whole job and it does it beautifully. π
β¨ SYNOPSIS β¨
#include <ncarg/gks.h>
void gset_linewidth(Gdouble linewidth);
look at that signature. clean. iconic. Gdouble, one arg, no drama. π
π 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. so like,0is fine, negative is not the vibe. π«
linewidth gets applied to the nominal linewidth on whatever device you're on, and then β plot twist β the linewidths are mapped to the nearest available linewidth representable on that device. so basically your device has a little menu of thicknesses it can actually do, and it rounds you to the closest one. it's giving "we'll get as close as we can, bestie." π
by default linewidth = 1.0, so setting linewidth = 2.0 will double line width on most devices. double it. slay. π₯
π¦ ACCESS π¦
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. that's the entry fee, babes. π
π 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
like, the whole friend group is here. go read them too, iykyk. π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
real talk: this is the NCAR GRAPHICS manual, UNIX flavor, and this page is dated March 1993 β which is lowkey ancient but highkey still serving. the copyright belongs to University Corporation for Atmospheric Research, and use of this Software is governed by a License Agreement. read it, bestie, fr fr. πβ¨
anyway that's the whole page, mwah, go make those polylines gorgeous π ππ¦
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms