LBSETI(3NCARG)
π LBSETI β it's giving "set an integer parameter on a Labelbar" β¨
okay bestie, so this one lives in the NCAR Graphics manual, and it's literally the glow-up your Labelbar needed. it sets internal parameters. with integers. periodt.
β¨ NAME β¨
LBSETI β gives an integer value to an internal parameter of Labelbar. yes queen, that's the whole job π
πΈ SYNOPSIS πΈ
CALL LBSETI (PNAM, IVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_lbseti (char *pnam, int ival)
π DESCRIPTION π
PNAMβ an input constant or variable of type CHARACTER. it's a string that's three or more characters long, and it has to begin with one of these six character strings:'CBL','CFL','CLB','WBL','WFL', or'WLB'. those are the vibes it's allowed to start with, no substitutions π₯IVALβ an input expression of type INTEGER, and it's the desired value of the parameter. here's the little plot twist: if the internal parameter is of type REAL, then the valueREAL(IVAL)gets handed to it. so your int gets converted, no cap π€
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. literally identical, we're not doing double work here π
π USAGE π
this routine lets you set the current value of Labelbar parameters. it's the "hey bestie change this setting rn" button π«Ά
for a complete list of parameters available in this utility, see the labelbar_params man page. that's where the full menu lives, iykyk.
π EXAMPLES π
use the ncargex command to see the following relevant examples: cpex07 and cpex08, and tconpa. go peek, they ate π
β ACCESS β
to use LBSETI or c_lbseti, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters, don't be chaotic π
π§ MESSAGES π§
see the labelbar man page for a description of all Labelbar error messages and/or informational messages. if something's screaming at you, that's where the answers are π
π SEE ALSO π
Online: labelbar, labelbar_params, lbfill, lbgeti, lbgetr, lblbar, lbsetr, ncarg_cbind
Hardcopy: 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.
quick vibe check: this whole page is from the NCAR Graphics manual, the UNIX flavour, and it's dated March 1993 β yes, the icon has been iconic since the 90s. slay forever πβ¨πΈπ¦
π¦ 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