TDSETR(3NCARG)

πŸ’– TDSETR β€” bestie, it's a whole real-value glow-up for your Tdpack parameter πŸ’–

okay so welcome to the TDSETR page of the NCAR Graphics manual (that's the 3NCARG section, iykyk), and no cap, this one is short and sweet. It lives in Tdpack, and it does exactly one thing: hands a brand new REAL value to a Tdpack parameter. That's it. That's the whole vibe. Periodt.


✨ NAME ✨

TDSETR β€” Provides a new real value for a Tdpack parameter. πŸ’…


✨ SYNOPSIS ✨

CALL TDSETR (PNAM,RVAL)

✨ C-BINDING SYNOPSIS ✨

#include <ncarg/ncargC.h>

void c_tdsetr (char *pnam, float rval)

✨ DESCRIPTION ✨

So the arguments of TDSETR are giving very much "two little besties, one job" energy, and here they are:

  • PNAM β€” an input constant or variable of type CHARACTER. This is the name of the parameter you wanna set. The character string can be any length you want, but heads up bestie, only the first three characters of it get examined. So like… the rest is just there for decoration, okay? πŸ™ˆ
  • RVAL β€” an input expression of type REAL. This is the real value you're picking for the parameter. Here's the tea: if the parameter is of type REAL, it gets given the value RVAL straight up. But if it's of type INTEGER, it gets given the value INT(RVAL). So the integer girlies get a lil truncation moment. 😭 That's just how it is.

✨ C-BINDING DESCRIPTION ✨

The C-binding argument descriptions are the same as the FORTRAN argument descriptions. fr fr, identical. No extra lore. 🫢


✨ USAGE ✨

This routine lets you set the current value of Tdpack parameters. That's the whole assignment, and it ate. πŸ”₯

For a complete list of parameters available in this utility, see the "tdpack_params" man page. Go look, it's iconic, I promise.


✨ ACCESS ✨

To use TDSETR or c_tdsetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order, bestie, don't fight the order, the order is the main character here. πŸ‘‘


✨ MESSAGES ✨

See the "tdpack" man page for a description of all Tdpack error messages and/or informational messages. If something's screaming at you, that's where the answers live. 🌸


✨ SEE ALSO ✨

Online, and yes, it's a whole friend group, we love a big friend group: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsort, tdstri, tdstrs. Go read them all, they're literally all right there. πŸ’œ


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


bestie the license is a real one, it's not just decorative, so please actually read it. πŸŽ€

and that's the whole page!! it's from UNIX, dated July 1997, and it's the TDSETR(3NCARG) page of the NCAR GRAPHICS manual. ty for coming to my ted talk, go set a parameter, slay, bye πŸ¦‹πŸ’–βœ¨