Establishes certain constants so that srface produces a picture whose size changes with respect to the viewer's distance from the object. it can also be used when making a movie of an object evolving in time to keep it positioned properly on the screen, saving computer time in the bargin. call it with r0 negative to turn off this feature.
SUBROUTINE SETR (XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX,R0)
#include <ncarg/ncargC.h>
void c_setr (float xmin, float xmax, float ymin, float ymax,
float zmin, float zmax, float r0)
Specifies the range of X array that will be passed to SRFACE.
Specifies the range of Y array that will be passed to SRFACE.
Specifies the range of Z array that will be passed to SRFACE. If a movie is being made of an evolving Z array, ZMIN and ZMAX should contain range of the union of all the Z arrays. They need not be exact.
Distance between observer and point looked at when the picture is to fill the screen when viewed from the direction which makes the picture biggest. If R0 is not positive, then the relative size feature is turned off, and subsequent pictures will fill the screen.
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
To use SETR or c_setr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Online: surface, surface_params, ezsrfc, pwrzs, srface. ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.