CPCHHL(3NCARG)
π CPCHHL π β the NCAR Graphics bestie you never call yourself
okay so real talk, this is a page from the NCAR Graphics manual, section 3NCARG, and it's about a little routine called CPCHHL. she's a callback, a vibe, a whole mood. let's get into it π«Ά
β¨ NAME β¨
CPCHHL β bestie, this one gets called by the Conpack routines whenever high/low labels are being drawn. the default version? does literally nothing. a user-written version may be supplied to provide control as the labels are drawn. no cap.
πΈ SYNOPSIS πΈ
CALL CPCHHL (IFLG)
π DESCRIPTION π
IFLGβ (INTEGER, input) is positive if an action is about to be taken, and negative if an action has just been completed. which action tho? that's decided by the absolute value ofIFLG, like so:- The value 1 implies the determination of the size of the label for a high (by means of a call to
PLCHHQ, in the package Plotchar, withANGD = 360.). - The value 2 implies the filling of the box around the label for a high, which is done before the drawing of the label itself.
- The value 3 implies the drawing of the label for a high (by means of a call to
PLCHHQ, in the package Plotchar). - The value 4 implies the drawing of the box around the label for a high, which is done after the drawing of the label itself.
- The value 5 implies the determination of the size of the label for a low (by means of a call to
PLCHHQ, in the package Plotchar, withANGD = 360.). - The value 6 implies the filling of the box around the label for a low, which is done before the drawing of the label itself.
- The value 7 implies the drawing of the label for a low (by means of a call to
PLCHHQ, in the package Plotchar). - The value 8 implies the drawing of the box around the label for a low, which is done after the drawing of the label itself.
- The value 1 implies the determination of the size of the label for a high (by means of a call to
π¦ USAGE π¦
so listen. the routine CPCHHL is not to be called by the user. periodt. it gets called several times by CPLBAM and/or CPLBDR while each high or low label is positioned and drawn. the default version of CPCHHL does nothing (iconic behaviour honestly).
a user-supplied replacement may change attributes such as color and line width β and the way you do that is by calling the SPPS routine SETUSV or the appropriate GKS routines.
the text of the label may be retrieved by means of a
CALL CPGETC ('CTM',CVAL)
and the text of the label may be changed by means of a
CALL CPSETC ('CTM',CVAL)
β οΈ but bestie, careful: thatCPSETCshould only be done during a call withIFLG = 1, 3, 5, or 7. and if it is done for one of the two values 5 and 7, it should also be done for the other. do not skip that, fr fr.
when CPCHHL is called, the parameter 'ZDV' will have been set to the value of the high or low being labelled; its value may be retrieved and used by CPCHHL. π
π ACCESS π
to use CPCHHL, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. that's the whole vibe check. β¨
π SEE ALSO π
Online: conpack, cpback, cpchcf, cpchcl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind
iykyk. go read them all, they're giving lore. π
π COPYRIGHT π
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 π she's from the UNIX manual, dated March 1993, and she lives at CPCHHL(3NCARG) forever and ever. slay, no notes, go forth and label those highs and lows. π¦β¨π
π¦ 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