56 [[nodiscard]]
const std::string&
ExePath()
const {
return exe_path_; }
63 [[nodiscard]]
const std::string&
Name()
const {
return name_; }
71 void Name(
const std::string& name) { name_ = name; }
78 [[nodiscard]]
const std::string&
Path()
const {
return path_; }
85 void Path(
const std::string& path) { path_ = path; }
128 std::string exe_path_;
136 size_t x_size_ = 1200;
137 size_t y_size_ = 800;
139 std::string x_label_;
140 std::string y_label_;
141 std::string x2_label_;
142 std::string y2_label_;
146 void MakeScript(std::ostream& script)
const;
Simple writer interface when creating a CSV file (comma separated value).
Definition csvwriter.h:36
void Path(const std::string &path)
Path where report are saved.
Definition gnuplot.h:85
const std::string & ExePath() const
Returns the full path to the gnuplot application.
Definition gnuplot.h:56
virtual ~GnuPlot()=default
Destructor.
std::string CreateScript() const
Creates a script string.
std::string CsvFileName() const
Returns the full path of the CSV file.
const std::string & Name() const
Name of the gnuplot report.
Definition gnuplot.h:63
void Show()
Shows the plot on the screen.
const std::string & Path() const
Path where reports are saved.
Definition gnuplot.h:78
void Name(const std::string &name)
Name of the gnuplot report If the plot report shall be saved, this defines the name of the gnuplot fi...
Definition gnuplot.h:71
std::string FileName() const
Returns the full path to the gnuplot script file.
void SaveScript()
Creates and saves the gnuplot script in a file.
CsvWriter & CsvFile()
Returns a reference to a CSV writer object.
Definition gnuplot.h:125
Defines a simple API when creating a comma separated value (CSV) file.
The plot namespace is used for plotting related classes and functions.
Definition csvwriter.h:16
GnuTerminal
Types of gnuplot output devices.
Definition gnuplot.h:29
@ wxt
wxWidgets window
Definition gnuplot.h:30