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

NAME

6       GCA  (Cell array) - draws a cell array starting with a rectangle speci‐
7       fied by two corner points; this initial rectangle  is  subdivided  into
8       subrectangles  by  specifying an arbitrary number of divisions in the X
9       and Y directions; each subrectangle (or cell) is assigned a  color  and
10       drawn with that color.
11

SYNOPSIS

13       CALL  GCA  (XP1, YP1, XP2, YP2, NXCLR, NYCLR, IXCLR, IYCLR, NXDO, NYDO,
14       CLRIA)
15

C-BINDING SYNOPSIS

17       #include <ncarg/gks.h>
18
19       void gcell_array(const Grect *rect, const Gpat_rep *colr_array);
20

DESCRIPTION

22       XP1         (Real, Input) - X world coordinate of point 1.
23
24       YP1         (Real, Input) - Y world coordinate of point 1.
25
26       XP2         (Real, Input) - X world coordinate of point 2.
27
28       YP2         (Real, Input) - Y world coordinate of point 2.
29
30       NXCLR       (Integer, Input) - X dimension of  the  color  index  array
31                   CLRIA.
32
33       NYCLR       (Integer,  Input)  -  Y  dimension of the color index array
34                   CLRIA.
35
36       IXCLR       (Integer, Input) - The index  of  the  starting  column  in
37                   index array CLRIA.
38
39       IYCLR       (Integer,  Input)  - The index of the starting row in index
40                   array CLRIA.
41
42       NXDO        (Integer, Input) - Number of cell elements to draw in the X
43                   dimension.
44
45       NYDO        (Integer, Input) - Number of cell elements to draw in the Y
46                   dimension.
47
48       CLRIA       (Integer array, Input) - An array of color  indices  dimen‐
49                   sioned  NXCLR  x NYCLR which is used to determine the color
50                   of each cell drawn.
51

USAGE

53       Points 1 and 2 must be diagonally opposite corner points of a rectangle
54       to  be divided into NXDO cells in the X dimension and NYDO cells in the
55       Y dimension.
56

ACCESS

58       To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
59

SEE ALSO

61       Online: gscr, gcell_array
62
63       Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR  Graphics  Funda‐
64       mentals, UNIX Version
65
67       Copyright (C) 1987-2007
68       University Corporation for Atmospheric Research
69
70       This  documentation  is  free  software; you can redistribute it and/or
71       modify it under the terms of the GNU General  Public  License  as  pub‐
72       lished  by  the  Free  Software  Foundation;  either  version  2 of the
73       License, or (at your option) any later version.
74
75       This software is distributed in the hope that it will  be  useful,  but
76       WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of MER‐
77       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General
78       Public License for more details.
79
80       You should have received a copy of the GNU General Public License along
81       with this software; if not, write  to  the  Free  Software  Foundation,
82       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
83
84
85
86UNIX                              March 1993                       GCA(3NCARG)
Impressum