25 #ifndef __DataPlot_hh__
26 #define __DataPlot_hh__
28 #include <bias_config.h>
29 #include <Base/Image/Image.hh>
30 #include <Base/Image/ColourRGB.hh>
57 void SetXRange(
float min,
float max);
58 void SetYRange(
float min,
float max);
59 void SetDrawingStyle(
enum DrawingStyle);
60 void SetAutoRange(
bool x,
bool y);
63 void Plot(
const std::vector<float> &data);
66 void Plot(
const std::vector<float> &x,
const std::vector<float> &y);
70 int Plot(
float x,
float y);
84 int WindowToViewport_(
float wx,
float wy,
unsigned int &vx,
unsigned int &vy);
86 void DrawLine_(
unsigned int x,
unsigned int y,
unsigned int x2,
unsigned int y2);
void SetPenColour(ColourRGB< unsigned char > color)
unsigned int PlotAreaWidth_
unsigned char ** DrawIda_
Image< unsigned char > * PlotArea_
ColourRGB< unsigned char > PenColour_
unsigned char ChannelCount_
void SetThickness(unsigned int t)
void SetBGColour(ColourRGB< unsigned char > color)
Class to plot data as lines, crosses etc, as gnuplot does, duplicates functionality in class GraphPlo...