#ifndef PLOT_REPORTER_HPP #define PLOT_REPORTER_HPP #include class plot_reporter { private: plot_reporter(const plot_reporter&); plot_reporter& operator=(const plot_reporter&); public: plot_reporter(); ~plot_reporter(); void init_xyrange(float x1,float x2,float y1,float y2,int axis_flag); void plot_line(std::vector& x,std::vector& y); void plot_err1_dot(std::vector& x,std::vector& y, std::vector& e); void plot_err2_dot(std::vector& x,std::vector& y, std::vector& e1,std::vector& e2); }; extern plot_reporter pr; #endif