plotter helper implemented consistently with the plot functions.