Areas(3NCARG)
π NAME π
Areas β bestie, this is a whole set of routines that lets you build an area map out of a bunch of edges, and then go absolutely feral using that area map for whatever you need. It's from the NCAR GRAPHICS manual, section 3NCARG. Slay.
β¨ SYNOPSIS β¨
Like, here's the whole squad, one per line:
ARINAMβ Initializes an area map.AREDAMβ Adds edges to an area map.ARMVAMβ Moves an area map from one integer array to another.ARPRAMβ Preprocesses an area map.ARSCAMβ Obtains definitions of areas created by edges in an area map.ARDRLNβ Draws a polyline masked by a given area map.ARGTAIβ Gets area identifiers associated with a given point.ARGETIβ Retrieves the integer value of an Areas parameter.ARGETRβ Retrieves the real value of an Areas parameter.ARSETIβ Provides a new integer value for an Areas parameter.ARSETRβ Provides a new real value for an Areas parameter.ARDBPAβ Produces a picture of a specified portion of the area map.
π¦ C-BINDING SYNOPSIS π¦
Yes bestie, there's a C side too, and she eats:
#include <ncarg/ncargC.h>
and then the C-besties themselves:
c_arinamc_aredamc_arpramc_arscamc_ardrlnc_argtaic_argetic_arsetic_ardbpa
π ACCESS π
To use the Areas Fortran or C routines, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. Order matters, ok? She's particular. π
π MESSAGES π
When error conditions are detected, the support routine SETER gets called. By default, SETER writes a message to the standard error file (as defined by I1MACH(4)) and then terminates execution. Not me getting absolutely obliterated by an error message π
But wait β it is possible to put SETER into recovery mode and regain control after a recoverable error, and lowkey all of the possible errors are recoverable. So the drama is optional.
The possible error messages are listed below. All errors are recoverable in the sense that a user program which has called ENTSR to set recovery mode will get control back after one of these errors occurs. Periodt.
ARDBDA - UNCLEARED PRIOR ERROR
ARDBPA - BAD POINTERS IN AREA MAP
ARDBPA - ERROR EXIT FROM GQPLCI
ARDBPA - ERROR EXIT FROM GQTXCI
ARDBPA - INITIALIZATION DONE IMPROPERLY
ARDBPA - UNCLEARED PRIOR ERROR
ARDRLN - ALGORITHM FAILURE
ARDRLN - INITIALIZATION DONE IMPROPERLY
ARDRLN - MAI TOO SMALL
ARDRLN - UNCLEARED PRIOR ERROR
AREDAM - AREA-MAP ARRAY OVERFLOW
AREDAM - INITIALIZATION DONE IMPROPERLY
AREDAM - UNCLEARED PRIOR ERROR
ARGETI - PARAMETER NAME NOT KNOWN - X
ARGETI - PARAMETER NAME TOO SHORT - X
ARGETI - UNCLEARED PRIOR ERROR
ARGETR - PARAMETER NAME NOT KNOWN - X
ARGETR - PARAMETER NAME TOO SHORT - X
ARGETR - UNCLEARED PRIOR ERROR
ARGTAI - ALGORITHM FAILURE
ARGTAI - INITIALIZATION DONE IMPROPERLY
ARGTAI - MAI TOO SMALL
ARGTAI - UNCLEARED PRIOR ERROR
ARINAM - AREA-MAP ARRAY IS TOO SMALL
ARINAM - UNCLEARED PRIOR ERROR
ARINIT - VALUE OF 'LC' IS TOO LARGE
ARMPIA - MULTIPLE-PRECISION QUANTITY IS TOO BIG
ARMVAM - INITIALIZATION DONE IMPROPERLY
ARMVAM - NEW AREA-MAP ARRAY IS TOO SMALL
ARMVAM - UNCLEARED PRIOR ERROR
ARPRAM - ALGORITHM FAILURE
ARPRAM - AREA-MAP ARRAY OVERFLOW
ARPRAM - INITIALIZATION DONE IMPROPERLY
ARPRAM - NO EDGES IN AREA MAP
ARPRAM - UNCLEARED PRIOR ERROR
ARSCAM - ALGORITHM FAILURE
ARSCAM - AREA-MAP ARRAY OVERFLOW
ARSCAM - INITIALIZATION DONE IMPROPERLY
ARSCAM - MAI TOO SMALL
ARSCAM - MCS TOO SMALL
ARSCAM - UNCLEARED PRIOR ERROR
ARSETI - PARAMETER NAME NOT KNOWN - X
ARSETI - PARAMETER NAME TOO SHORT - X
ARSETI - UNCLEARED PRIOR ERROR
ARSETR - PARAMETER NAME NOT KNOWN - X
ARSETR - PARAMETER NAME TOO SHORT - X
ARSETR - UNCLEARED PRIOR ERROR
π«Ά SEE ALSO π«Ά
Online: areas_params, ardbpa, ardrln, aredam, argeti, argetr, argtai, arinam, armvam, arpram, arscam, arseti, arsetr, ncarg_cbind
Hardcopy: NCAR Graphics Contouring and Mapping Tutorial; NCAR Graphics Fundamentals, UNIX Version
iykyk π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
Okay so that's the whole page bestie β from the UNIX manual, April 1995, filed under Areas(3NCARG). Go build some area maps and be the main character of your own plot. No cap. πβ¨π¦
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms