1GPL(3NCARG) NCAR GRAPHICS GPL(3NCARG)
2
3
4
6 GPL (Polyline) - This output primitive draws line segments connecting a
7 sequence of user-specified coordinate pairs.
8
10 CALL GPL (N, X, Y)
11
13 #include <ncarg/gks.h>
14
15 void gpolyline(const Gpoint_list *point_list);
16
18 N (Integer, Input) - The number of points in the line to be
19 drawn. N must be larger than one.
20
21 X (N) (Real Array, Input) - The X coordinates (specified in world
22 coordinates) of the N points to be connected by line seg‐
23 ments.
24
25 Y (N) (Real Array, Input) - The Y coordinates (specified in world
26 coordinates) of the N points to be connected by line seg‐
27 ments.
28
30 Note that the coordinate pairs must be in world coordinates and not
31 user coordinates. Among other things, this means that the log scaling
32 and mirror-imaging features available via the SET call and the SPPS
33 functions for drawing lines are not applicable here.
34
36 To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
37
39 Online: gsln, gslwsc, gscr, gsplci, gqln, gqlwsc, gqplci, dashline,
40 set, gpolyline
41
42 Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
43 mentals, UNIX Version "The Use of X/Y Coordinates in NCAR Graphics" SCD
44 User Document"
45
47 Copyright (C) 1987-2007
48 University Corporation for Atmospheric Research
49
50 This documentation is free software; you can redistribute it and/or
51 modify it under the terms of the GNU General Public License as pub‐
52 lished by the Free Software Foundation; either version 2 of the
53 License, or (at your option) any later version.
54
55 This software is distributed in the hope that it will be useful, but
56 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
57 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
58 Public License for more details.
59
60 You should have received a copy of the GNU General Public License along
61 with this software; if not, write to the Free Software Foundation,
62 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
63
64
65
66UNIX March 1993 GPL(3NCARG)