Go to the documentation of this file.
15 QStringList words_list;
16 words_list <<
"world/siam"
29 for (
int i = 0; i < 100; i++)
31 words_list.append(QString(
"data_vect/%1").
arg(i));
34 for (
const QString& name : words_list)
36 double A = 6 * ((double)rand() / (double)RAND_MAX) - 3;
37 double B = 3 * ((double)rand() / (double)RAND_MAX);
38 double C = 3 * ((double)rand() / (double)RAND_MAX);
39 double D = 20 * ((double)rand() / (double)RAND_MAX);
41 auto it = datamap.
addNumeric(name.toStdString());
45 for (
unsigned indx = 0; indx < SIZE; indx++)
55 tcGroup->setAttribute(
PJ::TOOL_TIP, QString(
"This is a group"));
57 auto& tc_default = datamap.
addNumeric(
"color/default", tcGroup)->second;
58 auto& tc_red = datamap.
addNumeric(
"color/red", tcGroup)->second;
74 for (
unsigned indx = 0; indx < SIZE; indx++)
85 str_plot.
pushBack({ t + 20,
"Blue" });
88 str_plot.
pushBack({ t + 20,
"Red" });
91 str_plot.
pushBack({ t + 20,
"Green" });
97 for (
unsigned i = 0; i < 8; i++)
99 double angle = double(i) *
M_PI / 4;
ScatterXYMap::iterator addScatterXY(const std::string &name, PlotGroup::Ptr group={})
StringSeriesMap::iterator addStringSeries(const std::string &name, PlotGroup::Ptr group={})
void pushBack(const Point &p) override
void pushBack(const Point &p) override
TimeseriesMap::iterator addNumeric(const std::string &name, PlotGroup::Ptr group={})
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
PlotGroup::Ptr getOrCreateGroup(const std::string &name)
void setAttribute(PlotAttribute id, const QVariant &value)
typename PlotDataBase< double, Value >::Point Point
virtual void pushBack(const Point &p)
void BuildDummyData(PlotDataMapRef &datamap)
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44