Labelbar_params(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– Labelbar_params β€” the NCAR Graphics tea πŸ’–

okay bestie, welcome to the Labelbar internal parameters page, part of the whole NCAR GRAPHICS moment. this is the Labelbar_params(3NCARG) page and honestly? it's short, it's sweet, and it's about to make you the main character of labelbar customization. πŸŽ€


✨ NAME ✨

Labelbar_params β€” this doc is the lil cheat sheet that briefly describes all the Labelbar internal parameters. that's it. that's the whole job. πŸ’…


🌸 DESCRIPTION 🌸

so, Labelbar has six internal parameters, and every single one of them changes how LBLBAR behaves in its own special way. they're all little levers you can pull. ✨

want to peek at what one of them is set to rn? call either LBGETI or LBGETR. want to change one? call either LBSETI or LBSETR. easy. iconic. no cap.

below are the descriptions of every Labelbar internal parameter, listed in alphabetical order (we stay organized in this house). each description starts with a line that gives you the parameter name and the intrinsic FORTRAN type of that parameter, so you know exactly what you're working with. πŸ¦‹


πŸŽ€ the parameters, one by one πŸŽ€

  • 'CBL' β€” Integer. Color of box lines. the default value is -1.
  • 'CFL' β€” Integer. Color of fill lines. the default value is -1.
  • 'CLB' β€” Integer. Color of labels. the default value is -1.
  • 'WBL' β€” Real. Width of box lines. the default value is 0.
  • 'WFL' β€” Real. Width of fill lines. the default value is 0.
  • 'WLB' β€” Real. Width of label lines. the default value is 0.

🌈 how the "color" girlies work 🌈

every one of the "color" parameters can be handed a negative value to say "yeah, the color is unspecified, idk." and when you do that? the color of whatever object gets drawn is just whatever the current polyline color index says β€” that's for box lines and fill lines β€” or the current text color index, which is what labels use. 🫢

if you give it a value that's zero or greater, that's you specifying the exact color index to be used. periodt.


🧚 how the "width" girlies work 🧚

every one of the "width" parameters can be given a value of zero or less to say "line width is unspecified, leave me alone." when that happens, the line width used to draw an object is whatever the current polyline width scale factor says. πŸ’«

okay so this next bit is IMPORTANT, bestie: setting the polyline width before you draw the labels does affect how those labels look. why?? because labels are drawn by calls to the routine PLCHHQ, and PLCHHQ strokes out characters using lines. so like. the lines. the width. it matters. 😭 that's just how it is.

πŸ”₯ SEE ALSO πŸ”₯

  • Online: lbgeti, lbgetr, lbseti, lbsetr
  • 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.

and that's the whole page, bestie!! πŸ’– this iconic lil doc came out of the UNIX world way back in March 1993, courtesy of those NCAR Graphics legends β€” go forth and set those parameters, you absolute icon. πŸŽ€βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from