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

NAME

6       SETR - Establishes certain constants so that SRFACE produces a picture
7       whose size changes with respect to the viewer's distance from the
8       object.  It can also be used when making a movie of an object evolving
9       in time to keep it positioned properly on the screen, saving computer
10       time in the bargin.  Call it with r0 negative to turn off this feature.
11

SYNOPSIS

13       SUBROUTINE SETR (XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX,R0)
14

C-BINDING SYNOPSIS

16       #include <ncarg/ncargC.h>
17
18       void c_setr (float xmin, float xmax, float ymin, float ymax,
19       float zmin, float zmax, float r0)
20

DESCRIPTION

22       XMIN,XMAX   Specifies the range of X array that will be passed to
23                   SRFACE.
24
25       YMIN,YMAX   Specifies the range of Y array that will be passed to
26                   SRFACE.
27
28       ZMIN,ZMAX   Specifies the range of Z array that will be passed to
29                   SRFACE.  If a movie is being made of an evolving Z array,
30                   ZMIN and ZMAX should contain range of the union of all the
31                   Z arrays.  They need not be exact.
32
33       R0          Distance between observer and point looked at when the
34                   picture is to fill the screen when viewed from the
35                   direction which makes the picture biggest.  If R0 is not
36                   positive, then the relative size feature is turned off, and
37                   subsequent pictures will fill the screen.
38

C-BINDING DESCRIPTION

40       The C-binding argument descriptions are the same as the FORTRAN
41       argument descriptions.
42

ACCESS

44       To use SETR or c_setr, load the NCAR Graphics libraries ncarg,
45       ncarg_gks, and ncarg_c, preferably in that order.
46

SEE ALSO

48       Online: surface, surface_params, ezsrfc, pwrzs, srface.  ncarg_cbind.
49
50       Hardcopy: NCAR Graphics Fundamentals, UNIX Version
51
53       Copyright (C) 1987-2007
54       University Corporation for Atmospheric Research
55
56       This documentation is free software; you can redistribute it and/or
57       modify it under the terms of the GNU General Public License as
58       published by the Free Software Foundation; either version 2 of the
59       License, or (at your option) any later version.
60
61       This software is distributed in the hope that it will be useful, but
62       WITHOUT ANY WARRANTY; without even the implied warranty of
63       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
64       General Public License for more details.
65
66       You should have received a copy of the GNU General Public License along
67       with this software; if not, write to the Free Software Foundation,
68       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
69
70
71
72UNIX                              March 1993                      SETR(3NCARG)
Impressum