GSET_LINEWIDTH(3NCARG)
β¨ 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 π
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
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms