NGSETR(3NCARG)

✨ NGSETR β€” it's giving "set a real parameter" πŸ’…

okay bestie, welcome to the NGSETR page, straight outta the NCAR GRAPHICS manual (section 3NCARG, if you're keeping score πŸŽ€). This is the lil routine that slides a brand new REAL value into an internal parameter of Ngmisc. And if you wanna see the whole roster of Ngmisc internal params? Go read the ngmisc_params man page, no cap. πŸ“–βœ¨


🌸 SYNOPSIS 🌸

CALL NGSETR (PNAM, RVAL)

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

#include <ncarg/ncargC.h>

void c_ngsetr (char *pnam, float rval)

πŸ’– DESCRIPTION πŸ’–

  • PNAM β€” an input constant or variable of type CHARACTER, and it's literally just the name of the parameter you wanna set. Heads up though: only the first two characters of the string get examined. Two. That's it. So don't come in here writing whole essays, she's only reading the first two letters. 😭
  • RVAL β€” an input expression of type REAL, and it's the value you want that internal parameter to have. The dream value. The one. πŸ‘‘

🌈 C-BINDING DESCRIPTION 🌈

The C-binding argument descriptions are the same as the FORTRAN argument descriptions. Like, identical. Same energy, different font. 🫢


⭐ USAGE ⭐

This routine lets you set the current value of Ngmisc parameters. That's the whole gig. And for the complete list of parameters available in this utility, bestie, you already know where to go: the ngmisc_params man page. Go look. I'll wait. πŸ’…


πŸ”₯ ACCESS πŸ”₯

To use NGSETR or c_ngsetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c β€” preferably in that order. Yes, ncarg_c shows up twice. That's not a typo, that's the assignment. Load them in that order or the vibe check fails. πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

Online:

  • ngmisc_params
  • nggetr
  • ngsetc
  • nggetc
  • ngseti
  • nggeti
  • ncarg_cbind

Online URL: http://ngwww.ucar.edu/ngdoc/ng/gks/gkshome.html

Hardcopy: NCAR Graphics Fundamentals, UNIX Version;


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 it, you're the main character of this man page now πŸ§šπŸ’œ this was NGSETR(3NCARG), from the UNIX manual, dated April 1994 β€” yeah she's vintage, she's iconic, periodt. mwah πŸ’‹πŸŒΈ