A character-plotting routine for plotting characters in three-space when using srface.
CALL PWRZS (X,Y,Z,ID,N,ISIZE,LINE,ITOP,ICNT)
#include <ncarg/ncargC.h>
void c_pwrzs (float x, float y, float z, char *id,
int n, int isize, int line, int itop, int icnt)
Positioning coordinates for the characters to be drawn. These are floating point numbers in the same three-space as used in SRFACE.
Character string to be drawn. ID is of type CHARACTER.
The number of characters in ID.
Size of the character:
If between 0 and 3, ISIZE is 1., 1.5, 2., or 3. times a standard width equal to 1/128th of the screen width.
If greater than 3, ISIZE is the character width in plotter address units.
The direction in which the characters are to be written.
1 = +X -1 = -X
2 = +Y -2 = -Y
3 = +Z -3 = -Z
The direction from the center of the first character to the top of the first character (the potential values for ITOP are the same as those for LINE as given above). Note that LINE cannot equal ITOP even in absolute value.
Centering option.
is the center of the left edge of the first character.
is the center of the entire string.
is the center of the right edge of the last character.
Note that the hidden character problem is solved correctly for characters near, but not inside, the three-space object.
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
Call PWRZS after calling SRFACE and before calling FRAME.
Use the ncargex command to see the following relevant examples: fsrpwrzs, tpwrzs.
To use PWRZS or c_pwrzs, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Online: surface, surface_params, ezsrfc, setr, srface. ncarg_cbind.
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.