41 #include <OpenMesh/Core/System/config.hh>
47 #if defined(OM_CC_MIPS)
59 # define GP_MAX_TMP_FILES 27 //27 temporary files it's Microsoft restriction
61 # define GP_MAX_TMP_FILES 64
62 # define GP_TMP_NAME_SIZE 512
63 # define GP_TITLE_SIZE 80
65 #define GP_CMD_SIZE 1024
98 vector<string> to_delete;
100 bool get_program_path(
const string& );
104 static string gnuplot_executable_;
116 Gnuplot(
const string & _style);
120 const string & _style,
121 const string & _xlabel,
122 const string & _ylabel,
123 vector<double> _x, vector<double> _y);
127 const string &_style,
128 const string &_xlabel,
129 const string &_ylabel,
136 void cmd(
const char *_cmd, ...);
140 void set_style(
const string & _style);
141 void set_ylabel(
const string & _ylabel);
142 void set_xlabel(
const string & _xlabel);
149 void plot_x(vector<double> _x,
const string &_title);
152 void plot_xy(vector<double> _x, vector<double> _y,
const string &_title);
159 const string & _title
164 const string & _equation,
165 const string & _title
169 void reset_plot(
void);
182 #endif // _GNUPLOT_HH
bool is_valid(void) const
Is Self valid?
bool is_active(void) const
Is Self active, i.e. does it have an active plot?
Exception thrown by class Gnuplot.