DOKK / manpages / debian 12 / libncarg-dev / frstpt.3ncarg.en
FRSTPT(3NCARG) NCAR GRAPHICS FRSTPT(3NCARG)

FRSTPT - generates a "pen-up" move to a specified point in the user coordinate system. FRSTPT is used in conjunction with the routine VECTOR to draw lines.

CALL FRSTPT (PX,PY)

#include <ncarg/ncargC.h>

void c_frstpt (float px, float py)

(an input expression of type REAL) defines the X user coordinate.
(an input expression of type REAL) defines the Y user coordinate.

The C-binding argument descriptions are the same as the FORTRAN argument descriptions.

Polyline type, line width, and color can be set by calling the GKS routines GSLN, GSLWSC, GSCR, and GSPLCI before calling FRSTPT.

Note that, for the sake of efficiency, the routines FRSTPT and VECTOR buffer the polylines resulting from pen moves. One must be sure to flush the SPPS polyline buffer before changing polyline attributes. A "CALL PLOTIF (0.,0.,2)" will flush the buffer.

Use the ncargex command to see the following relevant examples: tgflas.

To use FRSTPT or c_frstpt, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.

Online: gpl, gsln, gslwsc, gscr, gsplci, spps, spps_params, vector, line, curve, 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