Mathematical graph plotter