tweaking graph plotter