1GSWN(3NCARG) NCAR GRAPHICS GSWN(3NCARG)
2
3
4
6 GSWN (Set window) - establishes a window, or rectangular subspace, of
7 world coordinates to be plotted. Calls to GSWN are discouraged with
8 NCAR Graphics. Instead, use the SET subroutine because SET also sup‐
9 ports mirror imaging and log scaling of axes.
10
12 CALL GSWN (TRNUM, XMIN, XMAX, YMIN, YMAX)
13
15 #include <ncarg/gks.h>
16
17 void gset_win(Gint tran_num, const Glimit *win_limits);
18
20 TRNUM (Integer, Input) - A normalization transformation number.
21 The number of available transformations is implementation
22 specific. In the case of NCAR GKS-0A, two normalization
23 transformations are provided:
24
25 0 Selects the identity transformation in which both
26 the window and viewport have the range of 0. to 1.
27 in both coordinate directions. This is the default
28 normalization transformation for GKS. It is also
29 fixed within GKS; that is, it is illegal to call
30 GSWN with TRNUM = 0.
31
32 1 A normalization transformation in which the window
33 is defined by XMIN to XMAX and YMIN to YMAX.
34
35 XMIN (Real, Input) - The left horizontal coordinate of the win‐
36 dow. XMIN < XMAX
37
38 XMAX (Real, Input) - The right horizontal coordinate of the win‐
39 dow.
40
41 YMIN (Real, Input) - The bottom vertical coordinate of the win‐
42 dow. YMIN < YMAX
43
44 YMAX (Real, Input) - The top vertical coordinate of the window.
45
47 To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
48
50 Online: set, gsvp, gselnt, gqclip, gset_win
51
52 Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for
53 NCAR GKS-0A Graphics
54
56 Copyright (C) 1987-2009
57 University Corporation for Atmospheric Research
58
59 The use of this Software is governed by a License Agreement.
60
61
62
63UNIX March 1993 GSWN(3NCARG)