1GSET_WIN(3NCARG) NCAR GRAPHICS GSET_WIN(3NCARG)
2
3
4
6 gset_win (Set window) - establishes a window, or rectangular subspace,
7 of world coordinates to be plotted. Calls to gset_win are discouraged
8 with NCAR Graphics. Instead, use the c_set routine because c_set also
9 supports mirror imaging and log scaling of axes.
10
12 #include <ncarg/gks.h>
13
14 void gset_win(Gint tran_num, const Glimit *win_limits);
15
17 tran_num (Input) A normalization transformation number. The number
18 of available transformations is implementation specific. In
19 the case of NCAR GKS-0A, two normalization transformations
20 are provided:
21
22 0 Selects the identity transformation in which both
23 the window and viewport have the range of 0. to 1.
24 in both coordinate directions. This is the default
25 normalization transformation for GKS. It is also
26 fixed within GKS; that is, it is illegal to call
27 gset_win with tran_num = 0.
28
29 1 A normalization transformation in which the window
30 is defined by win_limits.x_min to win_limits.x_max
31 and win_limits.y_min to win_limits.y_max.
32
33 win_limits.x_min
34 (Gfloat, Input) - The left horizontal coordinate of the
35 window. x_min < x_max
36
37 win_limits.x_max
38 (Gfloat, Input) - The right horizontal coordinate of the
39 window.
40
41 win_limits.y_min
42 (Gfloat, Input) - The bottom vertical coordinate of the
43 window. y_min < y_max
44
45 win_limits.y_max
46 (Gfloat, Input) - The top vertical coordinate of the win‐
47 dow.
48
50 To use the GKS C-binding routines, load the ncarg_gks and ncarg_c
51 libraries.
52
54 Online: set(3NCARG), gset_vp(3NCARG), gsel_norm_tran(3NCARG),
55 ginq_clip(3NCARG), gks(3NCARG) ncarg_gks_cbind(3NCARG)
56
57 Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
58 mentals, UNIX Version
59
61 Copyright (C) 1987-2007
62 University Corporation for Atmospheric Research
63
64 This documentation is free software; you can redistribute it and/or
65 modify it under the terms of the GNU General Public License as pub‐
66 lished by the Free Software Foundation; either version 2 of the
67 License, or (at your option) any later version.
68
69 This software is distributed in the hope that it will be useful, but
70 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
71 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
72 Public License for more details.
73
74 You should have received a copy of the GNU General Public License along
75 with this software; if not, write to the Free Software Foundation,
76 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
77
78
79
80
81UNIX March 1993 GSET_WIN(3NCARG)