ncl_agsetc (3) - Linux Man Pages
AGSETC - Allows a user program to (in effect) store a character string as the value of a specified single parameter.
SYNOPSISCALL AGSETC (TPGN,CUSR)
C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
- (an input expression of type CHARACTER) is a parameter identifier, as described for AGSETP, above. The specified parameter must be one of those which intrinsically have values of type character: 'LINE/END.', 'LABEL/NAME.', 'LINE/ TEXT.', or 'DASH/PATTERN/n.'
(an input expression of type CHARACTER) is the desired
- If 'LINE/END.' is being set, only the first character of CUSR will be used.
- If 'LABEL/NAME.' is being set, the length of the string CUSR will be taken to be "MAX(1,LEN(CUSR))".
- If the text of a label is being set, CUSR must either be of the exact length specified by 'LINE/MAXIMUM.' (40 characters, by default) or shorter; if shorter, it must be terminated by the character defined by 'LINE/END.' (default: a '$').
- If a dash pattern is being set, the length of CUSR will be taken to be the minimum of "LEN(CUSR)" and the value specified by 'DASH/LENGTH.'.
C-BINDING DESCRIPTIONThe C-binding argument descriptions are the same as the FORTRAN argument descriptions.
USAGEThis routine allows you to set the current value of Autograph parameters. For a complete list of parameters available in this utility, see the autograph_params man page.
EXAMPLESUse the ncargex command to see the following relevant examples: agex05, agex06, agex07, agex08, agex09, agex13, tagupw, tautog, fagaxlbl, fagovrvw.
ACCESSTo use AGSETC or c_agsetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. To get smoother curves, drawn using spline interpolation, also load libdashsmth.o. Or, you can use the ncargf77 command to compile your program and load the above libraries, then, to get smoother curves, use the -dashsmth option.
MESSAGESSee the autograph man page for a description of all Autograph 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.