1GSET_WIN(3NCARG)                 NCAR GRAPHICS                GSET_WIN(3NCARG)
2
3
4

NAME

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

SYNOPSIS

12       #include <ncarg/gks.h>
13
14       void gset_win(Gint tran_num, const Glimit *win_limits);
15

DESCRIPTION

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

ACCESS

50       To use the GKS C-binding  routines,  load  the  ncarg_gks  and  ncarg_c
51       libraries.
52

SEE ALSO

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-2009
62       University Corporation for Atmospheric Research
63
64       The use of this Software is governed by a License Agreement.
65
66
67
68UNIX                              March 1993                  GSET_WIN(3NCARG)
Impressum