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

NAME

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

SYNOPSIS

13       #include <ncarg/gks.h>
14
15       void gcell_array(const Grect *rect, const Gpat_rep *colr_array);
16

DESCRIPTION

18       rect.p.x    (Gfloat Input) - X world coordinate of point 1.
19
20       rect.p.y    (Gfloat Input) - Y world coordinate of point 1.
21
22       rect.q.x    (Gfloat Input) - X world coordinate of point 2.
23
24       rect.q.y    (Gfloat Input) - Y world coordinate of point 2.
25
26       colr_array.dims.size_x
27                   (Gint,  Input)  -  X  dimension  of  the  color index array
28                   colr_array.colr_array.
29
30       colr_array.dims.size_y
31                   (Gint, Input) -  Y  dimension  of  the  color  index  array
32                   colr_array.colr_array.
33
34       colr_array.colr_array
35                   (Gint  *,  Input)  -  An array of color indices dimensioned
36                   colr_array.dims.size_x by colr_array.dims.size_y  which  is
37                   used to determine the color of each cell drawn.
38

USAGE

40       Points 1 and 2 must be diagonally opposite corner points of a rectangle
41       to be divided into colr_array.dims.size_x cells in the X dimension  and
42       colr_array.dims.size_y cells in the Y dimension.
43

ACCESS

45       To  use  the  GKS  C-binding  routines,  load the ncarg_gks and ncarg_c
46       libraries.
47

SEE ALSO

49       Online: gset_colr_rep(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
50
51       Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR  Graphics  Funda‐
52       mentals, UNIX Version
53
55       Copyright (C) 1987-2009
56       University Corporation for Atmospheric Research
57       The use of this Software is governed by a License Agreement.
58
59
60
61UNIX                              March 1993               GCELL_ARRAY(3NCARG)
Impressum