DPSETC(3NCARG)

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

πŸ’– DPSETC πŸ’–

okay bestie so this is a page from the NCAR GRAPHICS manual, section 3, and it's literally all about one little routine called DPSETC. it's giving "tiny function, big destiny" ✨


✨ NAME ✨

DPSETC β€” gives a new character value to a specified internal parameter. πŸ’…


🌸 SYNOPSIS 🌸

CALL DPSETC (PNAM,CVAL)

that's it. two args. no cap. πŸŽ€


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

#include <ncarg/ncargC.h>

void c_dpsetc (char *pnam, char *cval)

yes girl, there's a C version too and it's living its best life in ncarg/ncargC.h. πŸ’œ


πŸ’« DESCRIPTION πŸ’«

  • PNAM β€” an input constant or variable of type CHARACTER. it's the name of the parameter you wanna set, and here's the tea: the name has to appear as the first three characters of the string. the rest of the characters are yours to play with for documentation purposes β€” like, instead of just 'CRB', you could totally write 'CRB - CHARACTER REPRESENTING BREAK'. do it for the plot. 🫢
  • CVAL β€” an input constant or variable of type CHARACTER, and it's the value that gets assigned to the internal parameter that PNAM pointed at. iconic behaviour. 🌈

🧚 C-BINDING DESCRIPTION 🧚

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. no notes, periodt. πŸ’…


πŸ”₯ USAGE πŸ”₯

so this routine is your girl for setting the current value of Dashpack parameters. if you wanna see the complete list of parameters available in this utility, go read the dashpack_params man page. it's all there, i promise. 😌


πŸ“ EXAMPLES πŸ“

use the ncargex command to see this relevant example:

  • tdshpk

go look at it. it's giving reference material. ⭐


πŸ‘‘ ACCESS πŸ‘‘

to use DPSETC or c_dpsetc, you need to load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. don't fight the order, bestie, just link them in that order. πŸŽ€


πŸ’€ MESSAGES πŸ’€

see the dashpack man page for a description of all the Dashpack error messages and/or informational messages. if something's yelling at you, that's where the answers live. 😭


πŸ’– SEE ALSO πŸ’–

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

Hardcopy: None.

like, that's the whole squad. go read all of them if you're feeling ambitious. πŸ“šβœ¨


Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

respect the paperwork, bestie. it's the law. 🫑


and that's the whole page!! slay πŸ’…βœ¨

so yeah β€” this page came out of the UNIX manual, DPSETC(3NCARG), and it's dated March 1995. old but gold, fr fr. go set some character parameters, you absolute main character. πŸ¦‹πŸ’–πŸŒΈ

πŸ“¦ where this page comes from