Wiki Markup |
---|
{alias:cur}
h2. Name
*cur* — Draw a spline curve
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*cur* \[_size_ | *lin*] \[*num*] \[*sav* \[*nodraw*] ]
{panel}
h2. Description
Display a line dataset by generating a spline tube or line through the points.
h2. Arguments
_size_
{indent}_size_ is a real number determining the thickness of the tube, relative to 1.{indent}
*lin*
{indent}Draw the spline as a line instead of a tube.{indent}
*num* _number_
{indent}The integer _number_ gives number of points in the spline.{indent}
*sav* \[*nodraw*]
{indent}Save the spline points in active. *nodraw*: Just generate, do not display the spline.{indent}
h2. Examples
h3. Ex.1: Draw a curve through data points
{noformat:|borderWidth=1|bgColor=#eeeeee}
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
{noformat}
The above example produces this image.
!att:_img_ref^cmd_cur.png!
_Spline curve_
h2. See also
[bsp - B spline visualization], [mak lin dis | mak - Make datasets], [spl - Spline generation], [tub - Tube generation]
{pagebreak}
|
Page Comparison
General
Content
Integrations