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 value REAL(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 (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 πŸ’–βœ¨πŸŒΈπŸ¦‹