Finish implementing curve plotter