Smooth g Linear smooth (F8)

Averages the Y-value of every data point with its neighbours. First you have to define the width. The width is the number of data points on either side that will be averaged into the current data point. So a width of 1 means that 3 data points are averaged into one: the center data point, the point left to it, and the point right to it. A width of 2 means 5 data points are averaged, and so on. The source points are taken from the original plot, not the already processed plot. With a width of 2 the algorithm would be like this:

 Xnew,i = Xold,i ;   Ynew,i  =  (Yold,i-2 + Yold,i-1 + Yold,i + Yold,i+1 + Yold,i+2) / 5

This way, the number of data points of a plot doesn't change, neither does the X value of each data point. Only the Y values are averaged.

 The number of data points stays the same

Smoothing part of a plot

If you draw a rectangle before selecting the smooth command, only the part of the plot that falls within the rectangle is smoothed. This can be useful if you want to keep a jump in your plot intact, while smoothing the rest of it.

 Only the selected part is smoothed   The jump remains intact.  Result of an identical smooth  over the whole plot at once.