getF function

Get and plot the smoothing function values