ChemicalPlot.hpp
89 auto points(std::string label, std::vector<double> xpoints, std::vector<double> ypoints) -> void;
auto x(std::string quantity) -> void
Set the quantity to be plotted along the x-axis.
Definition: ChemicalPlot.cpp:355
auto xlabel(std::string) -> void
Set the label of the x-axis.
Definition: ChemicalPlot.cpp:408
auto ytics(std::string) -> void
Set the tics of the y-axis.
Definition: ChemicalPlot.cpp:425
auto operator==(const ChemicalPlot &other) -> bool
Compare a ChemicalPlot instance for equality.
Definition: ChemicalPlot.cpp:477
virtual ~ChemicalPlot()
Destroy this ChemicalPlot instance.
Definition: ChemicalPlot.cpp:347
auto xtics(std::string) -> void
Set the tics of the x-axis.
Definition: ChemicalPlot.cpp:420
auto xformat(std::string) -> void
Set the numeric display format of the x-axis.
Definition: ChemicalPlot.cpp:430
A class to represent a system and its attributes and properties.
Definition: ChemicalSystem.hpp:38
Provides a computational representation of the state of a multiphase chemical system.
Definition: ChemicalState.hpp:61
auto name(std::string name) -> void
Set the name of the plot and the file names exported.
Definition: ChemicalPlot.cpp:350
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto title(std::string title) -> void
Set the title of the plot.
Definition: ChemicalPlot.cpp:403
auto ylabel(std::string) -> void
Set the label of the y-axis.
Definition: ChemicalPlot.cpp:414
auto operator<<(std::string command) -> ChemicalPlot &
Inject a gnuplot command to the script file.
Definition: ChemicalPlot.cpp:455
auto y(std::string quantity) -> void
Add a quantity to be plotted along the y-axis.
Definition: ChemicalPlot.cpp:360
auto points(std::string label, std::vector< double > xpoints, std::vector< double > ypoints) -> void
Add discrete points in the plot.
Definition: ChemicalPlot.cpp:370
A class that represents a system of chemical reactions.
Definition: ReactionSystem.hpp:42
auto ylogscale(int base=10) -> void
Set the y-axis to log-scale.
Definition: ChemicalPlot.cpp:445
auto frequency(unsigned frequency) -> void
Set the refresh rate of the real-time plot.
Definition: ChemicalPlot.cpp:450
auto yformat(std::string) -> void
Set the numeric display format of the y-axis.
Definition: ChemicalPlot.cpp:435
ChemicalPlot()
Construct a default ChemicalPlot instance.
Definition: ChemicalPlot.cpp:335
auto xlogscale(int base=10) -> void
Set the x-axis to log-scale.
Definition: ChemicalPlot.cpp:440
A class used to create plots from sequence of chemical states.
Definition: ChemicalPlot.hpp:36
auto legend(std::string) -> void
Set the legend options.
Definition: ChemicalPlot.cpp:387
auto update(const ChemicalState &state, double t) -> void
Update the plot with a new chemical state and a tag.
Definition: ChemicalPlot.cpp:472
auto showlegend() const -> bool
Return true if legend should be displayed in the plot.
Definition: ChemicalPlot.cpp:398