1VECTOR(3NCARG) NCAR GRAPHICS VECTOR(3NCARG)
2
3
4
6 VECTOR - generates a "pen-down" move to a specified point in the user
7 coordinate system. VECTOR is used in conjunction with the routine
8 FRSTPT to draw lines.
9
11 CALL VECTOR (PX,PY)
12
14 #include <ncarg/ncargC.h>
15
16 void c_vector (float px, float py)
17
19 PX (an input expression of type REAL) defines the X user
20 coordinate.
21
22 PY (an input expression of type REAL) defines the Y user
23 coordinate.
24
26 The C-binding argument descriptions are the same as the FORTRAN
27 argument descriptions.
28
30 Polyline type, line width, and color can be set by calling the GKS
31 routines GSLN, GSLWSC, GSCR, and GSPLCI before calling VECTOR.
32
33 Note that, for the sake of efficiency, the routines FRSTPT and VECTOR
34 buffer the polylines resulting from pen moves. One must be sure to
35 flush the SPPS polyline buffer before changing polyline attributes. A
36 "CALL PLOTIF (0.,0.,2)" will flush the buffer.
37
39 Use the ncargex command to see the following relevant examples: tgflas.
40
42 To use VECTOR or c_vector, load the NCAR Graphics libraries ncarg,
43 ncarg_gks, and ncarg_c, preferably in that order.
44
46 Online: gpl, gsln, gslwsc, gscr, gsplci, spps, spps_params, frstpt,
47 line, curve, ncarg_cbind
48
49 Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for
50 NCAR GKS-0A Graphics
51
53 Copyright (C) 1987-2007
54 University Corporation for Atmospheric Research
55
56 This documentation is free software; you can redistribute it and/or
57 modify it under the terms of the GNU General Public License as
58 published by the Free Software Foundation; either version 2 of the
59 License, or (at your option) any later version.
60
61 This software is distributed in the hope that it will be useful, but
62 WITHOUT ANY WARRANTY; without even the implied warranty of
63 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64 General Public License for more details.
65
66 You should have received a copy of the GNU General Public License along
67 with this software; if not, write to the Free Software Foundation,
68 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
69
70
71
72UNIX March 1993 VECTOR(3NCARG)