Name
cur — Draw a spline curve
Syntax
cur [size | lin] [sav] [num] [nodraw]
Description
Display a line dataset by generating a spline tube or line through the points.
Arguments
size
Unknown macro: {indent}
size is a real number determining the thickness of the tube, relative to 1.
lin
Unknown macro: {indent}
Draw the spline as a line instead of a tube.
nodraw
Unknown macro: {indent}
Just generate, do not display the spline. Use together with sav.
num number
Unknown macro: {indent}
The integer number gives number of points in the spline.
sav
Unknown macro: {indent}
Save the spline points in active.
Examples
Ex.1: Draw a curve through data points
win demo ;# Get demo window (450000 460000 6450000 6460000 1000 4000) spe bgc whi ;# Specify background color to white mak ran 7 ;# Make 7 random points poi 2 ;# Display the points with size 2 cur 2 ;# Draw a spline curve with size 2
The above example produces this image.
Spline curve