SLSETR(3NCARG)
π SLSETR β bestie edition π
okay so this is a page from the NCAR GRAPHICS manual, and honestly? it's a little baddie. let's get into it.
β¨ NAME β¨
SLSETR β she hands a brand-new real value to an internal parameter of Scrolled_title that's of type INTEGER or REAL. π
and if you wanna see literally every single Scrolled_title internal parameter that exists? go read the scrolled_title_params man page, she's got the full list. no cap.
β¨ SYNOPSIS β¨
CALL SLSETR (PNAM, RVAL)
that's it. that's the whole vibe. π
β¨ C-BINDING SYNOPSIS β¨
#include <ncarg/ncargC.h>
void c_slsetr (char *pnam, float rval)
β¨ DESCRIPTION β¨
PNAMβ okay so this is an input constant or variable of typeCHARACTER, and she specifies the name of the parameter you wanna set. π¦ important lore: only the first three characters of the string get examined. so like, don't get cute with it, bestie, she's reading three letters and moving on.RVALβ this is an input expression of typeREAL, and it's the value you want that internal parameter to have. here's the tea tho: πΈ- if the internal parameter is of type
INTEGER, it gets the valueINT(RVAL). - if the internal parameter is of type
REAL, it just gets the valueRVAL.
- if the internal parameter is of type
periodt. π
β¨ C-BINDING DESCRIPTION β¨
the C-binding argument descriptions are the exact same as the FORTRAN argument descriptions. same energy, different language, we love a consistent queen. π
β¨ USAGE β¨
this routine is literally here so you can set the current value of Scrolled_title parameters. that's her whole job and she does it flawlessly. π
for a complete list of parameters available in this utility, go peek at the scrolled_title_params man page. iykyk.
β¨ EXAMPLES β¨
use the ncargex command to see the relevant example: slex01. β¨ go look, it's giving educational.
β¨ ACCESS β¨
to use SLSETR or c_slsetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c β preferably in that order. yes, ncarg_c is listed twice, that's not me being messy, that's what the page says, i don't make the rules. π
β¨ MESSAGES β¨
see the scrolled_title man page for a description of all Scrolled_title error messages and/or informational messages. she's the one who handles all the drama. π
β¨ SEE ALSO β¨
Online: ftitle, scrolled_title, scrolled_title_params, slgeti, slgetr, slogap, slrset, slseti, stitle, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics.
β¨ COPYRIGHT β¨
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
and that's the whole page, bestie π«Ά go set some parameters, slay responsibly.
this was the UNIX flavor of the manual, dated July 1995, and yes she's still iconic all these years later. mwah. π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms