ENH: Condensed code for plotting points into one function.