Labelbar(3NCARG)
π Labelbar β the NCAR GRAPHICS icon herself (3NCARG) π
okay bestie, sit down, hydrate, because we're talking about Labelbar, and she is literally the moment. She creates a labeled, filled, rectangular bar that serves as a key for a filled plot. yes, that little color-strip legend thing you've been staring at your whole life? that's her. main character energy, no cap. π
β¨ NAME β¨
Labelbar β creates a labeled, filled, rectangular bar to serve as a key for a filled plot. π
π SYNOPSIS π
LBLBARβ produces a complete label bar. the whole thing. the full slay. β¨LBGETIβ retrieves current integer parameter values. π§LBGETRβ retrieves current real parameter values. π§LBSETIβ sets integer parameter values. π₯LBSETRβ sets real parameter values. π₯
π¦ C-BINDING SYNOPSIS π¦
for the C girlies, the roster is:
c_lblbar
c_lbgeti
c_lbgetr
c_lbfill
c_lbseti
c_lbsetr
π USER-MODIFIABLE INTERNAL ROUTINES π
LBFILLβ fills label bars. that's it, that's the job. she fills label bars. π
πΈ ACCESS πΈ
to use Labelbar routines, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters, bestie, it's giving choreography. π©°
π MESSAGES π
ngl, various error conditions can occur in Labelbar. every single one of them results in a call to the error-handling routine SETER, with a final argument indicating that the error is recoverable. by default? an error message gets printed and execution is terminated. π but β plot twist β if you turn on error recovery (as described in the man page for error_handling), you can get control back. π«Ά
the error messages are as follows; all should be more or less self-explanatory:
LBGETI - UNCLEARED PRIOR ERROR
LBGETR - PARAMETER NAME NOT KNOWN - X
LBGETR - PARAMETER NAME TOO SHORT - X
LBGETR - UNCLEARED PRIOR ERROR
LBLBAR - ERROR EXIT FROM GQFACI
LBLBAR - ERROR EXIT FROM GQLWSC
LBLBAR - ERROR EXIT FROM GQPLCI
LBLBAR - ERROR EXIT FROM GQTXCI
LBLBAR - UNCLEARED PRIOR ERROR
LBSETI - UNCLEARED PRIOR ERROR
LBSETR - PARAMETER NAME NOT KNOWN - X
LBSETR - PARAMETER NAME TOO SHORT - X
LBSETR - UNCLEARED PRIOR ERROR
all of these should be more or less self-explanatory, fr fr. π
the ones that complain of an error exit from a GKS routine probably imply that GKS has somehow been put in the wrong state (vibe check failed, honestly). the others result from using an incorrect internal-parameter name in a call to one of the parameter-access routines. and the X? that gets replaced by the offending name. mystery solved, detective. πβ¨
π SEE ALSO π
Online: labelbar_params, lbfill, lbgeti, lbgetr, lblbar, lbseti, 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.
okay that's the whole page, you ate it up. π go make a pretty label bar, bestie. bye bye, icon! πβ¨π
signing off from the UNIX manual pages β this was the March 1993 edition of Labelbar(3NCARG), and yes she's vintage and yes she's still serving. π
π¦ 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