26 #ifndef GRALE_REAL2DFUNCTIONGNUPLOTPLOTTER_H
28 #define GRALE_REAL2DFUNCTIONGNUPLOTPLOTTER_H
30 #include "graleconfig.h"
31 #include "real2dfunctionplotter.h"
37 class GRALE_IMPORTEXPORT Real2DFunctionGnuPlotPlotter :
public Real2DFunctionPlotter
40 Real2DFunctionGnuPlotPlotter(
const std::string &fname,
double xscale = 1.0L,
double yscale = 1.0L,
double zscale = 1.0L);
41 ~Real2DFunctionGnuPlotPlotter();
42 void setColor(
bool b) { color = b; }
43 void setXLabel(
const std::string &s) { xlabel = s; }
44 void setYLabel(
const std::string &s) { ylabel = s; }
45 void set3D(
bool f) { flag3d = f; }
46 void setAxes(
bool f) { axes = f; }
47 void setZSize(
double z) { zsize = z; }
48 bool plot(Real2DFunction &f,Vector2D<double> bottomleft,Vector2D<double> topright,
int numxsteps,
int numysteps);
50 double xscale,yscale,zscale;
52 std::string xlabel,ylabel;
53 bool color,flag3d,axes;
59 #endif // GRALE_REAL2DFUNCTIONGNUPLOTPLOTTER_H