TiPlotChannel.InterpolationStyle

TiPlotChannel

Specifies the type of interpolation used to draw lines or curves between data points.

type TiPlotInterpolationStyle = (ipistStraightLine, ipistCubicSpline, ipistPolynomial, ipistRational, ipistDifferential);

property InterpolationStyle : TiPlotInterpolationStyle;

Description

Use Interpolation to specify the type of interpolation used to draw lines or curves between data points.

These are the possible values:

Value
Meaning
ipistStraightLine
Draws a straight trace line between each data point.
ipistCubicSpline
Draws a curve based on Cubic Spline curve fitting interpolation equations.
ipistPolynomial
Draws a curve based on Polynomial Interpolation curve fitting equations and is only good for small data sets (~100 data points). Polymomial degree is fixed at [n – 1] or [n =number of data points]
ipistRational
Draws a curve based on Rational Interpolation curve fitting equations. This is an alternative to the ipistPolynomial Interpolation with functons that have poles. This interpolation is good for small to medium-sized data sets.
ipistDifferential
Draws a curve based on Differential Interpolation. This style draws horizontal and vertical lines between data points. A line is drawn horizontal between one point's X and Y-Value to the next data point's X-Value. A vertical line is then drawn perpendicular from the end point up or down to the Y-Value of the second data point.

Example

Delphi

iComponent.Channel[0].InterpolationStyle := ipistCubicSpline;

C++ Builder

iComponent->Channel[0]->InterpolationStyle = ipistCubicSpline;

Contents | Index | Previous | Next