Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

Name

cur — Draw a spline curve

Syntax

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

Description

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

Arguments

size

size is a real number determining the thickness of the tube, relative to 1.

lin

Draw the spline as a line instead of a tube.

num number

The integer number gives number of points in the spline.

sav [nodraw]

Save the spline points in active. nodraw: Just generate, do not display the spline.

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

See also

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

  • No labels