## Script examples gallery - Curve fitting

Version 2.32
Scripts

Manual page for Script_examples_gallery_-_Curve_fitting(PL)

This page contains a series of curvefit examples illustrating the available varieties and options. These examples all use ploticus's proc curvefit.

### See also dist prefab and chron prefab which can generate curves.

### Example 1

curvefit3
5 different types of generated curves.

### Example 2

stock
Moving average over time.

### Example 3

scatterplot10
A regression curve. Ploticus computes the curve as well as the Pearson correlation coefficient r.

### Example 4

mouse.p2
A bspline curve fit to a histogram.

### Example 5

curvefit2
Example of an interpolated curve.
data display engine
Copyright Steve Grubb

Markup created by unroff 1.0, `` `` August 23, 2005.