ncl_tdez2d (3) - Linux Manuals
ncl_tdez2d: Provides a simplified interface to TDPACK for drawing surfaces.
NAME
TDEZ2D - Provides a simplified interface to TDPACK for drawing surfaces.
SYNOPSIS
CALL TDEZ2D(NX,NY,X,Y,Z,RMULT,THETA,PHI,IST)C-BINDING SYNOPSIS
#include <ncarg/ncargC.h>
void c_tdez3d (int nx, int ny, int nz, float *x, float *y,
1 - wire frame
IST is positive, then black is used for the background
or and white for the foreground color; if IST is
negative of any of the above values, then white
used for the background color and black for the
eground color.
If the value for IST falls outside the legal range, it is
defaulted to 6.
TDEZ2D does not call FRAME.
If the image is too small, decrease the size of RMULT; if the
image is too large, increase the size of RMULT.
When TDEZ2D is called, a color table is defined for all open
workstations that implements IST as described above. *This
color table will supersede any color table that has been
previously defined.* The color table that is defined is:
DESCRIPTION
The arguments of TDEZ2D are as follows:
2 - gray shades underneath; gray shades on top.
3 - gray shades underneath; red shades on top.
4 - gray shades underneath; green shades on top.
5 - gray shades underneath; blue shades on top.
6 - gray shades underneath; cyan shades on top.
7 - gray shades underneath; magenta shades on top.
8 - gray shades underneath; yellow shades on top.
C-BINDING DESCRIPTION
The C-binding argument descriptions are the same as the FORTRAN
argument descriptions.
USAGE
The coordinate (RMULT*DL,THETA,PHI) is the spherical
coordinate for the eye position. If RMULT = THETA = PHI = 0.,
a default eye position ( 2.5,-55.,70.) is chosen. The point
looked at is calculated to be the center of the surface.
Color
index Colors
------- ----------------------------------------------------
0 black if IST is positive; white if IST is negative
1 white if IST is positive; black if IST is negative
2 red
3 green
4 blue
5 cyan
6 magenta
7 yellow
8- 37 grayscale from white to black.
38- 67 shades of gray
68- 97 shades of red
98-127 shades of green
128-157 shades of blue
158-187 shades of cyan
188-217 shades of magenta
218-247 shades of yellow
ACCESS
To use TDEZ2D or c_tdez2d, load the NCAR Graphics libraries ncarg, ncarg_gks,
and ncarg_c, preferably in that order.
COPYRIGHT
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
SEE ALSO
Online:
tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tditri,
tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack, tdpack_params,
tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdsetr, tdsort, tdstri, tdstrs,
tdez3d