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

NAME

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

SYNOPSIS

12       CALL GSWN (TRNUM, XMIN, XMAX, YMIN, YMAX)
13

C-BINDING SYNOPSIS

15       #include <ncarg/gks.h>
16
17       void gset_win(Gint tran_num, const Glimit *win_limits);
18

DESCRIPTION

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

ACCESS

47       To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
48

SEE ALSO

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-2007
57       University Corporation for Atmospheric Research
58
59       This  documentation  is  free  software; you can redistribute it and/or
60       modify it under the terms of the GNU General  Public  License  as  pub‐
61       lished  by  the  Free  Software  Foundation;  either  version  2 of the
62       License, or (at your option) any later version.
63
64       This software is distributed in the hope that it will  be  useful,  but
65       WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of MER‐
66       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General
67       Public License for more details.
68
69       You should have received a copy of the GNU General Public License along
70       with this software; if not, write  to  the  Free  Software  Foundation,
71       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
72
73
74
75
76UNIX                              March 1993                      GSWN(3NCARG)
Impressum