SOLUTIONS

Mathematica
>
Data Manipulation
>
Numerical Data
>
Curve Fitting & Approximate Functions
>
Splines
>
BSplineCurve
BUILTIN MATHEMATICA SYMBOL
BSplineCurve
BSplineCurve[{pt_{1}, pt_{2}, ...}]
is a graphics primitive that represents a nonuniform rational Bspline curve with control points .
Details and OptionsDetails and Options
 BSplineCurve can be used in both Graphics and Graphics3D (two and threedimensional graphics).
 The positions of control points can be specified either in ordinary coordinates as or , or in scaled coordinates as Scaled[{x, y}] or Scaled[{x, y, z}].
 In two dimensions, Offset and ImageScaled can be used to specify coordinates.
 The following options can be given:

SplineDegree Automatic degree of polynomial basis SplineKnots Automatic knot sequence for spline SplineWeights Automatic control point weights SplineClosed False whether to make the spline closed  By default, BSplineCurve uses cubic splines.
 The option setting SplineDegree>d specifies that the underlying polynomial basis should have maximal degree d.
 By default, knots are chosen uniformly in parameter space, with additional knots added so that the curve starts at the first control point and ends at the last one.
 With an explicit setting for SplineKnots, the degree of the polynomial basis is determined from the number of knots specified and the number of control points.
 With the default setting SplineWeights>Automatic, all control points are chosen to have equal weights, corresponding to a polynomial Bspline curve.
 Curve thickness can be specified using Thickness or AbsoluteThickness, as well as Thick and Thin.
 Curve dashing can be specified using Dashing or AbsoluteDashing, as well as Dashed, Dotted, etc.
 Curve shading or coloring can be specified using CMYKColor, GrayLevel, Hue, Opacity, or RGBColor.
 Individual coordinates and lists of coordinates in BSplineCurve can be Dynamic objects.
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »