mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-06-22 08:52:01 +01:00
Plot: dashed lines
This commit is contained in:
@ -199,6 +199,7 @@ struct PlotOptions
|
||||
std::string label[2];
|
||||
std::string lineColor;
|
||||
int lineWidth;
|
||||
std::string dashType;
|
||||
std::vector<std::string> palette;
|
||||
};
|
||||
|
||||
@ -264,6 +265,19 @@ private:
|
||||
const unsigned width_;
|
||||
};
|
||||
|
||||
class Dash: public PlotModifier
|
||||
{
|
||||
public:
|
||||
// constructor
|
||||
explicit Dash(const std::string &dash);
|
||||
// destructor
|
||||
virtual ~Dash(void) = default;
|
||||
// modifier
|
||||
virtual void operator()(PlotOptions &option) const;
|
||||
private:
|
||||
const std::string dash_;
|
||||
};
|
||||
|
||||
class LogScale: public PlotModifier
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user