DPSETR(3NCARG)

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

✨ DPSETR β€” it's giving "set a Dashpack parameter" ✨

okay bestie, welcome to DPSETR from the NCAR Graphics fam (that's the 3NCARG manual, iykyk) πŸ’–


🌸 NAME 🌸

DPSETR β€” sets the value of an internal parameter of type REAL or INTEGER. no cap, that's literally the whole job and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

CALL DPSETR (PNAM,RVAL)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_dpsetr (char *pnam, float rval)

πŸ‘‘ DESCRIPTION πŸ‘‘

  • PNAM β€” an input constant or variable of type CHARACTER, and she's the one holding the name of the parameter you wanna set. here's the tea tho: the name has to show up as the first three characters of the string. the other characters? they're just vibes β€” you can use them to document what the parameter is for. like, instead of just 'LS1', you can absolutely write 'LS1 - LABEL SPACING PARAMETER 1' and honestly? that's main character energy 🫢
  • RVAL β€” an input expression of type REAL, and it's the value getting assigned to the internal parameter that PNAM pointed at. so if that internal parameter is of type REAL, the value it receives is RVAL. but if the internal parameter is of type INTEGER, then the value it receives is INT(RVAL) β€” yes, she converts, she's considerate like that 😌

🌈 C-BINDING DESCRIPTION 🌈

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. periodt. same facts, different syntax, we love a bilingual icon ✨


πŸ’œ USAGE πŸ’œ

this routine lets you set the current value of Dashpack parameters. and if you want the complete list of parameters available in this utility? go read the dashpack_params man page, bestie, she has everything πŸŽ€


πŸ“ EXAMPLES πŸ“

use the ncargex command to see the following relevant examples: tdshpk.

that's one (1) example and it's iconic, don't sleep on it πŸ”₯

🧚 ACCESS 🧚

to use DPSETR or c_dpsetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. order matters, we're not chaotic here (okay we're a little chaotic but not about link order) πŸ’…


πŸ’€ MESSAGES πŸ’€

see the dashpack man page for a description of all Dashpack error messages and/or informational messages. if something goes wrong, that's where the receipts live πŸ™ˆ


⭐ SEE ALSO ⭐

Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc, dpgeti, dpgetr, dplast, dpline, dpsetc, dpseti, dpsmth, dpvect, ncarg_cbind.

Hardcopy: None.

not a single hardcopy to be found, she's digital only and that's fine 🌸

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 that, go set some parameters πŸ’–βœ¨

this lil manual page came from the UNIX section, dated March 1995, and it's DPSETR(3NCARG) all day every day β€” mwah, bye bestie πŸŽ€πŸ’…

πŸ“¦ where this page comes from