SETR(3NCARG)
β¨ SETR β bestie edition π
ok so this is SETR(3NCARG), a lil subroutine from the NCAR GRAPHICS manuals, and it's about to make your 3D surface plots do the most. π¦
πΈ NAME πΈ
SETR β Establishes certain constants so that SRFACE produces a picture whose size changes with respect to the viewer's distance from the object. It can also be used when making a movie of an object evolving in time to keep it positioned properly on the screen, saving computer time in the bargin. Call it with r0 negative to turn off this feature. β¨
no cap, that "saving computer time in the bargin" is a direct quote from the original and yes we are keeping the typo, it's canon now π
π SYNOPSIS π
SUBROUTINE SETR (XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX,R0)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_setr (float xmin, float xmax, float ymin, float ymax,
float zmin, float zmax, float r0)
π DESCRIPTION π
XMIN,XMAXβ Specifies the range of X array that will be passed toSRFACE. πYMIN,YMAXβ Specifies the range of Y array that will be passed toSRFACE. πZMIN,ZMAXβ Specifies the range of Z array that will be passed toSRFACE. If a movie is being made of an evolving Z array,ZMINandZMAXshould contain range of the union of all the Z arrays. They need not be exact. π¬ (fr fr, they don't have to be perfect, she's chill like that)R0β Distance between observer and point looked at when the picture is to fill the screen when viewed from the direction which makes the picture biggest. IfR0is not positive, then the relative size feature is turned off, and subsequent pictures will fill the screen. π₯
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. (yes bestie, same vibes, different binding π«Ά)
β ACCESS β
To use SETR or c_setr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. π
the way that order matters... lowkey iconic. do it in that order bestie, they said "preferably" but like, just do it π
π¦ SEE ALSO π¦
- Online:
surface,surface_params,ezsrfc,pwrzs,srface.ncarg_cbind. π - Hardcopy: NCAR Graphics Fundamentals, UNIX Version π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
ok that's the whole page, you ate that π and a lil sign-off for you: this was UNIX, March 1993, and the page is SETR(3NCARG) β periodt. πβ¨π
π¦ 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