POINTS(3NCARG) | NCAR GRAPHICS | POINTS(3NCARG) |
POINTS - draws a marker at each of a series of specified positions in the user coordinate system. The markers can also be connected by drawing lines between them.
CALL POINTS (PX,PY,NP,IC,IL)
#include <ncarg/ncargC.h>
void c_points (float *px, float *py, int np, int ic, int il)
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
If the routine SET has not been called, or if the last call to SET specified linear mappings in X and Y, and the value of IC specifies a GKS polymarker, then the GKS routine GPM is called to draw the polymarkers. If, in addition, IL is non-zero, the GKS routine GPL is called to draw the line segments. In all other cases, NCAR Graphics routines are used to draw the more complicated set of graphical objects.
Since a call to POINTS can result in subsequent calls to the GKS routines GPM or GPL, various polymarker and polyline attributes may need to be set before the routine POINTS is called. Polymarker attributes which can be set are listed above in the DESCRIPTION Section. Polyline attributes which can be set include polyline type (call GSLN), polyline line width (call GSLWSC), and color (call GSCR and GSPLCI).
A call to the routine POINTS causes the SPPS polyline buffer to be flushed. Refer to the man page for the routine PLOTIF.
Use the ncargex command to see the following relevant examples: agex11, cmptra.
To use POINTS or c_points, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Online: gpl, gsln, gslwsc, gpm, gsmk, gsmksc, gtx, gstxal, gstxp, gstxfp, gschh, gschsp, gschup, gschxp, gscr, gstxci, gsplci, gspmci, spps, spps_params, plotif, ngdots, point, ncarg_cbind
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
March 1993 | UNIX |