ncl_cppklb (3) - Linux Man Pages
ncl_cppklb: Picks a set of labels for labeled contour levels.
CPPKLB - Picks a set of labels for labeled contour levels.
SYNOPSISCALL CPPKLB (ZDAT, RWRK, IWRK)
C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
DESCRIPTIONAll three arguments are arrays used in the last call to CPRECT, CPSPS1, or CPSPS2, the contents of which must not have been changed since that call.
- (REAL array, dimensioned as specified in the last call to CPRECT, CPSPS1, or CPSPS2, input) is the data array.
- (REAL array, dimensioned as specified in the last call to CPRECT, CPSPS1, or CPSPS2, input/output) is the real workspace array.
- (INTEGER array, dimensioned as specified in the last call to CPRECT, CPSPS1, or CPSPS2, input/output) is the integer workspace array.
C-BINDING DESCRIPTIONThe C-binding argument descriptions are the same as the FORTRAN argument descriptions.
USAGENormally, CPPKLB is called by Conpack when labels for the contour levels are needed. You can call CPPKLB directly (after the initialization call to CPRECT, CPSPS1 or CPSPS2) when you want to modify the resulting parameter arrays that specify the labels.
If the constant-field-flag 'CFF' is non-zero, indicating that, during the last call to CPRECT, CPSPS1, or CPSPS2, the data were found to be essentially constant, CPPKLB does nothing. Otherwise, CPPKLB examines the first 'NCL' elements of the parameter array 'CLV', which defines the contour levels, and the associated parameter arrays, looking for levels that are to be labeled ('CLU' = 2 or 3) for which no label is specified (the associated element of 'LLT' is ' ', a single blank.) If any such levels are found, labels are generated for them.
The scale factor 'SFU' may be set as a byproduct of choosing the labels. See the description of the parameters 'SFU' (scale factor used) and 'SFS' (scale factor selector) in the conpack_params man page.
EXAMPLESUse the ncargex command to see the following relevant example: ccpklb.
ACCESSTo use CPPKLB or c_cppklb, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
MESSAGESSee the conpack man page for a description of all Conpack error messages and/or informational messages.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.