ncl_tdgrid (3) - Linux Manuals
ncl_tdgrid: Draw a perimeter, optionally with ticks or grid lines, around the
TDGRID - Draw a perimeter, optionally with ticks or grid lines, around the edges of the reference parallelogram defined by the last call to TDPARA. This routine is normally called indirectly (by virtue of a call to TDGRDS), but there is no reason why it should not be called directly.
SYNOPSISCALL TDGRID (XBEG, XSTP, NOXS, YBEG, YSTP, NOYS, IGRD)
C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
void c_tdgrid(float xbeg, float xstp, int noxs, float ybeg, float ystp, int noys, int igrd)
DESCRIPTIONThe arguments of TDGRID are as follows:
- XBEG, XSTP, and NOXS
- (input expressions of types REAL, REAL, and INTEGER, respectively) - define where ticks or grid lines are to be drawn along the "X" axis of the parallelogram (at XBEG, XBEG+XSTP, XBEG+2*XSTP, ... XBEG+NOXS*XSTP).
- YBEG, YSTP, and NOYS
- (input expressions of types REAL, REAL, and INTEGER, respectively) - define where ticks or grid lines are to be drawn along the "Y" axis of the parallelogram (at YBEG, YBEG+YSTP, YBEG+2*YSTP, ... YBEG+NOYS*YSTP).
- (an input expression of type INTEGER) - defines what is to be drawn and has one of the values 1 (draw just a perimeter), 2 (draw a perimeter with inward-pointing ticks), or 3 (draw a perimeter with a grid).
C-BINDING DESCRIPTIONThe C-binding argument descriptions are the same as the FORTRAN argument descriptions.
ACCESSTo use TDGRID or c_tdgrid, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.