1GSCHUP(3NCARG) NCAR GRAPHICS GSCHUP(3NCARG)
2
3
4
6 GSCHUP (Set character up vector) - specifies the angle at which subse‐
7 quent text is to be drawn with GTX.
8
10 CALL GSCHUP (CHUX, CHUY)
11
13 #include <ncarg/gks.h>
14
15 void gset_char_up_vec(const Gvec *char_up_vec);
16
18 CHUX (Real, Input) - Gives the X (horizontal) world coordinate
19 of a vector.
20
21 CHUY (Real, Input) - Gives the Y (vertical) world coordinate of
22 a vector.
23
25 The coordinates (CHUX, CHUY) relative to the point (0.,0.) establish a
26 vector direction. This direction specifies the up direction of indi‐
27 vidual characters. This direction also specifies the orientation of a
28 text string in that the characters in a string are placed along a line
29 perpendicular to the character up vector. By default the character up
30 vector is (0.,1.) so that characters are drawn in their normal horizon‐
31 tal orientation. The magnitude of the up vector is not used so that
32 (0.,23.) is the same as (0.,1.).
33
35 CALL GSCHUP(-1.,0.)
36
37 would specify the character up vector as (-1.,0.) and subsequent text
38 written with GTX would be rotated 90 degrees from normal and would be
39 appropriate for a Y-axis label.
40
41
42 CALL GSCHUP(1.,1.)
43
44 would specify the character up vector as (1.,1.) and subsequent text
45 written with GTX would be rotated -45 degress from normal.
46
48 To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
49
51 Online: gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschxp, gscr,
52 gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar,
53 gset_char_up_vec
54
55 Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
56 mentals, UNIX Version
57
59 Copyright (C) 1987-2009
60 University Corporation for Atmospheric Research
61 The use of this Software is governed by a License Agreement.
62
63
64
65UNIX March 1993 GSCHUP(3NCARG)