1CURVED(3NCARG)                   NCAR GRAPHICS                  CURVED(3NCARG)
2
3
4

NAME

6       CURVED - Draws a curve through a sequence of points.
7

SYNOPSIS

9       CALL CURVED (X,Y,N)
10

C-BINDING SYNOPSIS

12       #include <ncarg/ncargC.h>
13
14       void c_curved (float *x, float *y, int n)
15

DESCRIPTION

17       X           (an input array of type REAL) defines the X user
18                   coordinates of the curve.  Array X is of length N.
19
20       Y           (an input array of type REAL) defines the Y user
21                   coordinates of the curve.  Array Y is of length N.
22
23       N           (an input expression of type INTEGER) specifies the number
24                   of points in the curve.
25

C-BINDING DESCRIPTION

27       The C-binding argument descriptions are the same as the FORTRAN
28       argument description.
29

USAGE

31       The statement
32
33             CALL CURVED (X,Y,N)
34
35       is equivalent to the statements
36
37             CALL FRSTD (X(1),Y(1))
38             CALL VECTD (X(2),Y(2))
39             CALL VECTD (X(3),Y(3))
40             ...(et cetera)...
41             CALL VECTD (X(N),Y(N))
42             CALL LASTD
43
44       The basic difference is that CURVED requires you to have all of the
45       coordinates defining the curve available at once; sometimes this is
46       convenient and sometimes it is not.
47
48       If three or more distinct points are given, and if one of the smoothing
49       versions of Dashline is being used, and if the internal parameter that
50       suppresses smoothing is not set, then splines under tension are used to
51       generate a smooth curve; the number of points actually used to draw the
52       curve will depend on its length.  In all other cases, the "curve" will
53       be approximated by just connecting the given points in the specified
54       order.
55

EXAMPLES

57       Use the ncargex command to see the following relevant examples:
58       carline, colcon, cmpfil, cmpgrp, cmpitm, cmplab, cmpmsk, cmptit,
59       cpex01, cpex02, cpex03, cpex04, cpex06, vvex01, tdashc, tdashl, tdashp,
60       tdashs, carline, fcover, ffex03, ffex05, fdlcurvd, fdldashd, fdlsmth,
61       fpcloqu.
62

ACCESS

64       To use CURVED or c_curved, load the NCAR Graphics libraries ncarg,
65       ncarg_gks, and ncarg_c, preferably in that order.
66
67       See the man page for dashline to see how to access the quick, normal,
68       smooth, and super line draw options.
69

SEE ALSO

71       Online: dashline, dashline_params, dashdb, dashdc, frstd, lastd, lined,
72       reset, vectd, ncarg_cbind
73
74       Hardcopy: NCAR Graphics Contouring and Mapping Tutorial; NCAR Graphics
75       Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
76
78       Copyright (C) 1987-2007
79       University Corporation for Atmospheric Research
80
81       This documentation is free software; you can redistribute it and/or
82       modify it under the terms of the GNU General Public License as
83       published by the Free Software Foundation; either version 2 of the
84       License, or (at your option) any later version.
85
86       This software is distributed in the hope that it will be useful, but
87       WITHOUT ANY WARRANTY; without even the implied warranty of
88       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
89       General Public License for more details.
90
91       You should have received a copy of the GNU General Public License along
92       with this software; if not, write to the Free Software Foundation,
93       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
94
95
96
97UNIX                              March 1993                    CURVED(3NCARG)
Impressum