Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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*] 

{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}

Name

cur — Draw a spline curve

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

cur [size | lin] [num] [sav]

Description

Display a line dataset by generating a spline tube or line through the points.

Arguments

size

lin

num number

sav [nodraw]

Examples

Ex.1: Draw a curve through data points

No Format
bgColor#eeeeee
borderWidth1
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.

...

Image Added
Spline curve

See also

bsp - B spline visualization, mak lin dis , spl - Spline generation, tub - Tube generation