ncl_gset_char_up_vec (3) - Linux Manuals
ncl_gset_char_up_vec: specifies the angle at which subsequent
NAMEgset_char_up_vec (Set character up vector) - specifies the angle at which subsequent text is to be drawn with gtext.
- (Gfloat, Input) - Gives the X (horizontal) world coordinate of a vector.
- (Gfloat, Input) - Gives the Y (vertical) world coordinate of a vector.
USAGEThe coordinates (char_up_vec.delta_x, char_up_vec.delta_y) relative to the point (0.,0.) establish a vector direction. This direction specifies the up direction of individual characters. This direction also specifies the orientation of a text string in that the characters in a string are placed along a line perpendicular to the character up vector. By default the character up vector is (0.,1.) so that characters are drawn in their normal horizontal orientation. The magnitude of the up vector is not used so that (0.,23.) is the same as (0.,1.).
char_up_vec.delta_x = -1. char_up_vec.delta_y = 0. gset_char_up_vec(&char_up_vec);would specify the character up vector as (-1.,0.) and subsequent text written with gtext would be rotated 90 degrees from normal and would be appropriate for a Y-axis label.
char_up_vec.delta_x = 1. char_up_vec.delta_y = 1.. gset_char_up_vec(&char_up_vec);would specify the character up vector as (1.,1.) and subsequent text written with gtext would be rotated -45 degress from normal.
ACCESSTo use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.