PWRZI(3NCARG)
β¨ PWRZI β¨ (aka the NCAR GRAPHICS bestie, PWRZI(3NCARG))
okay so π listen up β PWRZI is a character-plotting routine, and it's the one you call when you wanna plot characters in three-space while you're using Isosurface. and the gag is: for a large class of possible positions, the hidden character problem is just... solved. no cap. π
πΈ NAME πΈ
PWRZI β a character-plotting routine for plotting characters in three-space when using Isosurface. For a large class of possible positions, the hidden character problem is solved. β¨
π SYNOPSIS π
SUBROUTINE PWRZI (X,Y,Z,ID,N,ISIZE,LINE,ITOP,ICNT)
π C-BINDING SYNOPSIS
#include <ncarg/ncargC.h>
void c_pwrzi (float x, float y, float z, char *id, int n,
int isize, int line, int itop, int icnt)
π¦ DESCRIPTION π¦
like, here's the whole vibe check on every argument, bestie. no skipping, we're doing all of them π
X,Y,Zβ (input expressions of typeREAL) these are the positioning coordinates for the characters to be drawn. they're floating point numbers living in the same three-space coordinate system that Isosurface uses. so like, same map, same lore. πΊοΈIDβ (an input expression of typeCHARACTER) the character string to be drawn. literally the text itself, the main character. πNβ (an input expression of typeINTEGER) the number of characters inID. count 'em. π’ISIZEβ (an input expression of typeINTEGER) specifies the size of the characters to be used, and it's giving two modes:- If between
0and3,ISIZEis1.,1.5,2., or3.times a standard width equal to1/128th of the screen width. - If greater than
3,ISIZEis the character width in plotter address units (by default,1/1024th of the screen width).
- If between
LINEβ (an input expression of typeINTEGER) specifies the direction in which the characters are to be written. pick your axis, pick your sign π§:+1=+X-1=-X+2=+Y-2=-Y+3=+Z-3=-Z
ITOPβ (an input expression of typeINTEGER) specifies the direction from the center of the first character to the top of the first character. the potential values forITOPare the same as those forLINEas given above π. note thatLINEcannot equalITOPeven in absolute value. so like, don't even try it, they cannot be twins. π ββοΈICNTβ (an input expression of typeINTEGER) is the centering option, and this is where your string gets to decide where its center of gravity lives:-1β(X,Y,Z)is the center of the left edge of the first character.+0β(X,Y,Z)is the center of the entire string.+1β(X,Y,Z)is the center of the right edge of the last character.
π C-BINDING DESCRIPTION
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same energy, different syntax, periodt. π«Ά
π« USAGE π«
Call PWRZI after calling ISOSRF and before calling FRAME. that's the order, bestie, the sequence is sacred π―οΈ
π₯ EXAMPLES π₯
Use the ncargex command to see the following relevant examples: tpwrzi, fsrpwrzs.
π ACCESS π
To use PWRZI or c_pwrzi, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. yes, order matters. we stan a consistent load order π
π SEE ALSO π
Online: isosurface, isosurface_params, ezisos, isgeti, isgetr, isosrf, isseti, issetr, 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.
okay that's the whole page, you ate it, go plot some three-space characters π¦β¨
source/version vibes: this is from the UNIX manual, dated March 1993, page PWRZI(3NCARG) β yeah she's vintage but she's iconic, and honestly? still slaying. π mwah, bye bestie π
π¦ 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