DPSETI(3NCARG)
π DPSETI β it's giving "set an internal parameter" β¨
okay so bestie, welcome to DPSETI from the NCAR GRAPHICS manual (section 3NCARG, we're fancy like that π ). This is the glow-up guide to setting internal parameters of type INTEGER or REAL. no cap.
β¨ NAME β¨
DPSETI β sets the value of an internal parameter of type INTEGER or REAL. periodt. π
πΈ SYNOPSIS πΈ
CALL DPSETI (PNAM,IVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_dpseti (char *pnam, int ival)
π DESCRIPTION π
PNAMβ this is an input constant or variable of type CHARACTER, and it names the parameter you're setting. Heads up though: the name has to be the first three characters of the string, that's the whole vibe check. The other characters are just there so you can document what you're doing β like, instead of justDPL, you could writeDPL - DASH PATTERN LENGTH. cute, right? πIVALβ an input expression of type INTEGER, and it's the value being assigned to the internal parameter thatPNAMpicked out. Now here's the tea: if that internal parameter is of type INTEGER, the value it gets is justIVAL. But if the internal parameter is of type REAL, the value it gets isREAL(IVAL). yes, it converts for you. slay. β¨
π C-BINDING DESCRIPTION π
ngl the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same energy, different language. π«Ά
π USAGE π
This routine is how you set the current value of Dashpack parameters. that's its whole main character moment.
and if you want the complete list of parameters available in this utility? go read the dashpack_params man page. iykyk. π
π EXAMPLES π
Use the ncargex command to see the following relevant examples: tdshpk.
go look at it, it's iconic. π₯
π§ ACCESS π§
To use DPSETI or c_dpseti, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. yes the order matters bestie, don't do your own thing here. π
β SEE ALSO β
Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc, dpgeti, dpgetr, dplast, dpline, dpsetc, dpsetr, dpsmth, dpvect, ncarg_cbind.
Hardcopy: None. (ngl, the hardcopy shelf is empty on this one π)
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
bestie this is the part where you actually read the license. i'm not kidding. go read it. π
and that's the whole page!! π this was DPSETI(3NCARG) from the UNIX manual, dated March 1995 β yeah she's an elder but she ate and left no crumbs. πβ¨
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms