mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-12-16 22:54:40 +00:00
Merge branch 'develop' into feature/feature/reorg
This commit is contained in:
@@ -146,6 +146,15 @@ public:
|
||||
virtual ~PlotHistogram(void) = default;
|
||||
};
|
||||
|
||||
class PlotImpulses: public PlotObject
|
||||
{
|
||||
public:
|
||||
// constructor
|
||||
PlotImpulses(const DVec &x, const DVec &y);
|
||||
// destructor
|
||||
virtual ~PlotImpulses(void) = default;
|
||||
};
|
||||
|
||||
class PlotMatrixNoRange: public PlotObject
|
||||
{
|
||||
public:
|
||||
@@ -172,14 +181,15 @@ struct Range
|
||||
|
||||
struct PlotOptions
|
||||
{
|
||||
std::string terminal;
|
||||
std::string output;
|
||||
std::string caption;
|
||||
std::string title;
|
||||
unsigned int scaleMode[2];
|
||||
Range scale[2];
|
||||
std::string label[2];
|
||||
std::string lineColor;
|
||||
std::string terminal;
|
||||
std::string output;
|
||||
std::string caption;
|
||||
std::string title;
|
||||
unsigned int scaleMode[2];
|
||||
Range scale[2];
|
||||
std::string label[2];
|
||||
std::string lineColor;
|
||||
std::vector<std::string> palette;
|
||||
};
|
||||
|
||||
class PlotModifier
|
||||
@@ -286,6 +296,21 @@ private:
|
||||
const std::string title_;
|
||||
};
|
||||
|
||||
class Palette: public PlotModifier
|
||||
{
|
||||
public:
|
||||
static const std::vector<std::string> category10;
|
||||
public:
|
||||
// constructor
|
||||
explicit Palette(const std::vector<std::string> &palette);
|
||||
// destructor
|
||||
virtual ~Palette(void) = default;
|
||||
// modifier
|
||||
virtual void operator()(PlotOptions &option) const;
|
||||
private:
|
||||
const std::vector<std::string> palette_;
|
||||
};
|
||||
|
||||
/******************************************************************************
|
||||
* Plot class *
|
||||
******************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user