1SETR(3NCARG) NCAR GRAPHICS SETR(3NCARG)
2
3
4
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
13 SUBROUTINE SETR (XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX,R0)
14
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
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
40 The C-binding argument descriptions are the same as the FORTRAN
41 argument descriptions.
42
44 To use SETR or c_setr, load the NCAR Graphics libraries ncarg,
45 ncarg_gks, and ncarg_c, preferably in that order.
46
48 Online: surface, surface_params, ezsrfc, pwrzs, srface. ncarg_cbind.
49
50 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
51
53 Copyright (C) 1987-2009
54 University Corporation for Atmospheric Research
55 The use of this Software is governed by a License Agreement.
56
57
58
59UNIX March 1993 SETR(3NCARG)