ecl-logo Documentation
ECL`

PlotFit

PlotFit[Xy, F]Plot

overlays the fitted function F[x] on the data points Xy.

PlotFit[Fit]Plot

overlays the fitted function from the Fit object onto the data points used to construct the fit.

Details

    Input
    Output
    Data Specifications Options
    Error Bands Options
    Frame Options
    Grid Options
    Image Format Options
    Legend Options
    Outliers Options
    Plot Fit Options
    Plot Labeling Options
    Plot Range Options
    Plot Style Options
    General Options

Examples

open allclose all

Basic Examples  (4)

Plot a 2-D fit:

Plot a fit and its data:

Plot a fit object:

Plot the output of the fit function:

Additional Examples  (4)

Plot a 2-D LinearLog fit:

Plot a 2-D LinearLog fit: without showing excluded points:

Plot a unitless fit option:

Plot a unitless fit option:

Options  (68)

AspectRatio  (1)

The ratio of height to width for this plot:

Background  (1)

Specifies the background color of the plot:

ClippingStyle  (1)

The style of the curves or surfaces that extend beyond the plot range:

ColorFunction  (1)

A function to apply to determine colors of elements in the plot:

ColorFunctionScaling  (1)

Scales the arguments to the color function between 0 and 1:

ConfidenceLevel  (2)

Show bands at multiple confidence levels:

Specify confidence level for prediction and confidence bands:

DegreesOfFreedom  (1)

Degrees of freedom of the fit. Used to calculate error bands:

Display  (5)

Plot only the fit and points:

Plot only the points:

Plot the confidence and prediction bands:

Plot the excluded points:

Plot the quantile lines:

Epilog  (1)

Provide a list of graphics primitives to render after plot elements:

Error  (3)

Compute error based on fit and data:

Specify constant error:

Specify error that varies with x-coordinate:

ErrorBandFilling  (1)

Fill error bands:

Exclude  (3)

No excludes:

Specify indices of points to exclude:

Specify points to exclude:

Filling  (1)

The region of the plot that should be filled under points, curves, and surfaces:

FillingStyle  (1)

Specify how filling should be styled:

Frame  (1)

Specification for plot frame:

FrameLabel  (1)

Specify frame label:

FrameStyle  (1)

Style specifications for the frame of the plot:

FrameTicks  (1)

Specifies the location of tick marks on the frame of the plot:

FrameTicksStyle  (1)

Style specifications for frame ticks:

GridLines  (1)

Grid lines that should be drawn on the plot. When set to Automatic, the grid lines resolve to reasonably spaced grid lines, depending on the range of the plot:

GridLinesStyle  (1)

Style specifications for grid lines of the plot:

HatDiagonal  (1)

Influence matrix for the fit, to be used for computing outliers:

ImageSize  (1)

Size of the plot:

InterpolationOrder  (1)

Specifies the order of interpolation to use when the points of the dataset are joined together:

Joined  (1)

Specifies whether points in each dataset should be joined into a line, or should be plotted as separate points:

LabelingFunction  (1)

Specifies how points on this plot should be labeled:

LabelStyle  (1)

Style to be applied to all plot labels:

Legend  (1)

Add a legend:

MeanPredictionError  (1)

Function defining mean prediction error for the fit:

OutlierDistance  (3)

Loose outlier tolerance:

No outliers:

Strict outlier tolerance:

Outliers  (4)

Compute outliers:

No outliers:

Specify indices of outliers:

Specify outlier points:

PlotLabel  (1)

Specifies an overall label for a plot:

PlotMarkers  (1)

Specifies what markers to draw at the points plotted:

PlotRange  (1)

PlotRange specification for the primary data. PlotRange units must be compatible with units of primary data:

PlotRangeClipping  (1)

Specifies whether graphics objects should be clipped at the edge of the region defined by PlotRange, or should be allowed to extend to the actual edge of the image:

PlotStyle  (4)

Plot a 2-D fit:

Plot the error:

Plot the error of a 2-D fit:

Plot the fit:

PlotType  (4)

Plot using Linear axes:

Plot using LinearLog axes:

Plot using Log axes:

Plot using LogLinear axes:

PointSize  (3)

Determine point size automatically based on number of points:

Large points:

Specify point size:

Prolog  (1)

Provide a list of graphics primitives to render before plot elements:

RotateLabel  (1)

Whether to rotate the vertical label on the frame of the plot:

SamplePoints  (3)

Display error bars at 50 evenly distributed points:

Display error bars at 5 evenly distributed points:

Display error bars at the given x-values:

SinglePredictionError  (1)

Function defining single prediction error for the fit:

StandardDeviation  (1)

Standard deviation of the fit:

TargetUnits  (1)

Specify frame label:

Messages  (1)

NoPlotAvailabe  (1)

Cannot plot fits with more than 2 independent variables:

Last modified on Wed 27 Aug 2025 17:20:49