#include <plotdata.h>
Public Member Functions | |
TimeseriesMap::iterator | addNumeric (const std::string &name, PlotGroup::Ptr group={}) |
ScatterXYMap::iterator | addScatterXY (const std::string &name, PlotGroup::Ptr group={}) |
StringSeriesMap::iterator | addStringSeries (const std::string &name, PlotGroup::Ptr group={}) |
AnySeriesMap::iterator | addUserDefined (const std::string &name, PlotGroup::Ptr group={}) |
void | clear () |
bool | erase (const std::string &name) |
std::unordered_set< std::string > | getAllNames () const |
PlotGroup::Ptr | getOrCreateGroup (const std::string &name) |
PlotData & | getOrCreateNumeric (const std::string &name, PlotGroup::Ptr group={}) |
PlotDataXY & | getOrCreateScatterXY (const std::string &name, PlotGroup::Ptr group={}) |
StringSeries & | getOrCreateStringSeries (const std::string &name, PlotGroup::Ptr group={}) |
PlotDataAny & | getOrCreateUserDefined (const std::string &name, PlotGroup::Ptr group={}) |
void | setMaximumRangeX (double range) |
Public Attributes | |
std::unordered_map< std::string, PlotGroup::Ptr > | groups |
Each series can have (optionally) a group. Groups can have their own properties. More... | |
TimeseriesMap | numeric |
Numerical timeseries. More... | |
ScatterXYMap | scatter_xy |
StringSeriesMap | strings |
Series of strings. More... | |
AnySeriesMap | user_defined |
Definition at line 34 of file plotdata.h.
TimeseriesMap::iterator PJ::PlotDataMapRef::addNumeric | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 51 of file plotdata.cpp.
ScatterXYMap::iterator PJ::PlotDataMapRef::addScatterXY | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 45 of file plotdata.cpp.
StringSeriesMap::iterator PJ::PlotDataMapRef::addStringSeries | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 63 of file plotdata.cpp.
AnySeriesMap::iterator PJ::PlotDataMapRef::addUserDefined | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 57 of file plotdata.cpp.
void PJ::PlotDataMapRef::clear | ( | ) |
Definition at line 125 of file plotdata.cpp.
bool PJ::PlotDataMapRef::erase | ( | const std::string & | name | ) |
Definition at line 148 of file plotdata.cpp.
std::unordered_set< std::string > PJ::PlotDataMapRef::getAllNames | ( | ) | const |
Definition at line 107 of file plotdata.cpp.
PlotGroup::Ptr PJ::PlotDataMapRef::getOrCreateGroup | ( | const std::string & | name | ) |
Definition at line 93 of file plotdata.cpp.
PlotData & PJ::PlotDataMapRef::getOrCreateNumeric | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 75 of file plotdata.cpp.
PlotDataXY & PJ::PlotDataMapRef::getOrCreateScatterXY | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 69 of file plotdata.cpp.
StringSeries & PJ::PlotDataMapRef::getOrCreateStringSeries | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 81 of file plotdata.cpp.
PlotDataAny & PJ::PlotDataMapRef::getOrCreateUserDefined | ( | const std::string & | name, |
PlotGroup::Ptr | group = {} |
||
) |
Definition at line 87 of file plotdata.cpp.
void PJ::PlotDataMapRef::setMaximumRangeX | ( | double | range | ) |
Definition at line 132 of file plotdata.cpp.
std::unordered_map<std::string, PlotGroup::Ptr> PJ::PlotDataMapRef::groups |
Each series can have (optionally) a group. Groups can have their own properties.
Definition at line 52 of file plotdata.h.
TimeseriesMap PJ::PlotDataMapRef::numeric |
Numerical timeseries.
Definition at line 39 of file plotdata.h.
ScatterXYMap PJ::PlotDataMapRef::scatter_xy |
Definition at line 36 of file plotdata.h.
StringSeriesMap PJ::PlotDataMapRef::strings |
Series of strings.
Definition at line 46 of file plotdata.h.
AnySeriesMap PJ::PlotDataMapRef::user_defined |
Timeseries that can contain any data structure. PlotJuggler can not display it natively, only plugins can manipulate them.
Definition at line 43 of file plotdata.h.