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

NAME

6       GSVP  (Set viewport) - establishes a rectangular subspace of normalized
7       device coordinates space. Calls  to  GSVP  are  discouraged  with  NCAR
8       Graphics.  Instead,  use  the  SET subroutine because SET also supports
9       mirror imaging and log scaling of axes.
10

SYNOPSIS

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

C-BINDING SYNOPSIS

15       #include <ncarg/gks.h>
16
17       void gset_vp(Gint tran_num, const Glimit *vp_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                          GSVP with TRNUM = 0.
31
32                   1      A normalization transformation in which the viewport
33                          is defined by XMIN to XMAX and YMIN to YMAX.
34
35       XMIN        (Real, Input) - The left horizontal coordinate of the view‐
36                   port.
37
38       XMAX        (Real, Input) - The  right  horizontal  coordinate  of  the
39                   viewport.  0. ≤ XMIN < XMAX ≤ 1.
40
41       YMIN        (Real, Input) - The bottom vertical coordinate of the view‐
42                   port.
43
44       YMAX        (Real, Input) - The top vertical coordinate  of  the  view‐
45                   port.  0. ≤ YMIN < YMAX ≤ 1.
46
47       Defaults:   TRNUM = 0, XMIN = 0.0, XMAX = 1.0, YMIN = 0.0, YMAX = 1.0
48

ACCESS

50       To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
51

SEE ALSO

53       Online: set, gswn, gselnt, gqclip, gset_vp
54
55       Hardcopy:  NCAR  Graphics  Fundamentals, UNIX Version; User's Guide for
56       NCAR GKS-0A Graphics
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                            14 January 1992                   GSVP(3NCARG)
Impressum