figure_removeOutlyingPoints function

Remove outlier points from a figure.