C-PLOT

Scientific Graphics and Data Analysis

C.13. - smooth.4



is a simple boxcar data smoother.
fn smooth.4 [bin_size]
The function smooth.4 uses a simple smoothing algorithm that averages some number of adjacent points (given by bin_size) to produce a new point. The bin_size parameter is rounded up to an odd number.

The input data should be presorted. The number of points used in the average decreases at the end points.