VECTOR(3NCARG)
π VECTOR(3NCARG) π
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, where we draw lines and feel iconic about it β¨
πΈ NAME πΈ
VECTOR β bestie, this one generates a "pen-down" move to a specified point in the user coordinate system. That's the whole vibe. VECTOR is used in conjunction with the routine FRSTPT to draw lines, so likeβ¦ they're a duo, they're the main characters, you don't use one without the other π
β¨ SYNOPSIS β¨
CALL VECTOR (PX,PY)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_vector (float px, float py)
π DESCRIPTION π
PXβ an input expression of type REAL, and it defines the X user coordinate. That's it, that's the job πPYβ an input expression of type REAL, and it defines the Y user coordinate. sister of PX, equally important, no cap π
π C-BINDING DESCRIPTION π
ngl, the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same energy, same facts, no notes β¨
π USAGE π
okay so here's the tea β Polyline type, line width, and color can all be set by calling the GKS routines GSLN, GSLWSC, GSCR, and GSPLCI before calling VECTOR. Order matters, bestie, do the settings first π₯
β οΈ and now the important part, listen up: for the sake of efficiency, the routinesFRSTPTandVECTORbuffer the polylines resulting from pen moves. So one must be sure to flush the SPPS polyline buffer before changing polyline attributes. ACALL PLOTIF (0.,0.,2)will flush the buffer. that's the cheat code, write it down ππ
π EXAMPLES π
Use the ncargex command to see the following relevant examples: tgflas. go look at it, it's giving demonstration β¨
π«Ά ACCESS π«Ά
To use VECTOR or c_vector, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. the order is not a suggestion bestie, respect the sequence π
β SEE ALSO β
Online: gpl, gsln, gslwsc, gscr, gsplci, spps, spps_params, frstpt, line, curve, ncarg_cbind
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
π COPYRIGHT π
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the whole page, bestie π¦ this was VECTOR(3NCARG) from UNIX, dated March 1993 β yeah she's an elder but she ate and left no crumbs, periodt πβ¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms