SPLINEPLOT
Name
SPLINEPLOT
Purpose
Plots a 2D spline curve using a set of given coordinates.
Category
Plot
Calling Sequence
SPLINEPLOT, XCoords, YCoords
Inputs
XCoords: Array of x coordinates of curve.
YCoords: Array of y coordinates of curve.
Keyword Parameters
NSPLINE: Number of points to use to draw the curve. Default: 100.
OVERPLOT: Plots over existing plot.
WINDOW: Uses the /WINDOW flag for Coyote Graphics.
ADDCMD: Uses the /ADDCMD flag for Coyote Graphics.
Example
This uses GETPTS to select a number of points, and then draws a smooth curve
connecting those points:
GETPTS, x, y
SPLINEPLOT, x, y, /OVERPLOT
Modification History
Written by: Jeremy Bailin, 3 Dec 2010
11 March 2011 Moved to SPLINEPLOT and allowing overplot as an option.
Switched to Coyote Graphics.