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-2009
68       University Corporation for Atmospheric Research
69       The use of this Software is governed by a License Agreement.
70
71
72
73UNIX                              March 1993                       GCA(3NCARG)
Impressum