GCA(3NCARG)

๐Ÿ“ฆ version 6.6.2, in epel 9, fedora 43, fedora 44

โœจ GCA (Cell Array) โ€” the NCAR Graphics glow-up for rectangles ๐Ÿ’…

okay bestie, welcome to the NCAR Graphics manual, page GCA(3NCARG). this one's a whole vibe: you hand it a rectangle, it chops that rectangle into a grid of little cells, and every single cell gets its own color. it's giving mosaic energy. ๐ŸŽ€


๐ŸŒธ NAME ๐ŸŒธ

GCA (Cell array) โ€” draws a cell array starting with a rectangle specified by two corner points; this initial rectangle is subdivided into subrectangles by specifying an arbitrary number of divisions in the X and Y directions; each subrectangle (or cell) is assigned a color and drawn with that color. ๐Ÿฆ‹


๐ŸŒˆ SYNOPSIS ๐ŸŒˆ

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

โœจ C-BINDING SYNOPSIS โœจ

#include <ncarg/gks.h>

void gcell_array(const Grect *rect, const Gpat_rep *colr_array);

๐Ÿ’– DESCRIPTION ๐Ÿ’–

okay so here's every single argument, no skipping, we're being thorough because that's the main character thing to do:

  • XP1 โ€” (Real, Input) โ€” X world coordinate of point 1. ๐Ÿ“
  • YP1 โ€” (Real, Input) โ€” Y world coordinate of point 1. ๐Ÿ“
  • XP2 โ€” (Real, Input) โ€” X world coordinate of point 2. ๐Ÿ“
  • YP2 โ€” (Real, Input) โ€” Y world coordinate of point 2. ๐Ÿ“
  • NXCLR โ€” (Integer, Input) โ€” X dimension of the color index array CLRIA. ๐Ÿงฎ
  • NYCLR โ€” (Integer, Input) โ€” Y dimension of the color index array CLRIA. ๐Ÿงฎ
  • IXCLR โ€” (Integer, Input) โ€” The index of the starting column in index array CLRIA. ๐ŸŽฏ
  • IYCLR โ€” (Integer, Input) โ€” The index of the starting row in index array CLRIA. ๐ŸŽฏ
  • NXDO โ€” (Integer, Input) โ€” Number of cell elements to draw in the X dimension. ๐Ÿ”ข
  • NYDO โ€” (Integer, Input) โ€” Number of cell elements to draw in the Y dimension. ๐Ÿ”ข
  • CLRIA โ€” (Integer array, Input) โ€” An array of color indices dimensioned NXCLR x NYCLR which is used to determine the color of each cell drawn. ๐ŸŽจ

๐Ÿซถ USAGE ๐Ÿซถ

Points 1 and 2 must be diagonally opposite corner points of a rectangle to be divided into NXDO cells in the X dimension and NYDO cells in the Y dimension. like, corners on opposite ends of the diagonal, not neighbors. iykyk. ๐Ÿ’…


๐Ÿ‘‘ ACCESS ๐Ÿ‘‘

To use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's it, that's the whole prerequisite. ๐Ÿงš


๐ŸŒŸ SEE ALSO ๐ŸŒŸ

  • Online: gscr, gcell_array
  • Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


ngl bestie, this page is UNIX-flavored and dates all the way back to March 1993 โ€” vintage, iconic, still slaying. that's GCA(3NCARG) fr fr, catch you in the next manpage. ๐Ÿ“๐Ÿ’€โœจ
๐Ÿ“ฆ where this page comes from