current TeX and Code
This commit is contained in:
@@ -63,6 +63,10 @@ public:
|
||||
gplot.getAxisX().setRange(K::GnuplotAxis::Range(K::GnuplotAxis::Range::AUTO, K::GnuplotAxis::Range::AUTO));
|
||||
}
|
||||
|
||||
const std::vector<Entry>& getEntries() {
|
||||
return entries;
|
||||
}
|
||||
|
||||
/** set the percentage range to show */
|
||||
void setYRange(const int fromPercent, const int toPercent, const int increment = 5) {
|
||||
this->range.fromPercent = fromPercent;
|
||||
|
||||
@@ -46,6 +46,18 @@ public:
|
||||
|
||||
}
|
||||
|
||||
void setColor(const int idx, const std::string& color) {
|
||||
lineErr[idx].getStroke().getColor().setHexStr(color);
|
||||
}
|
||||
|
||||
void setLabel(const int idx, const std::string& label) {
|
||||
lineErr[idx].setTitle(label);
|
||||
}
|
||||
|
||||
void setWidth(const int idx, const float w) {
|
||||
lineErr[idx].getStroke().setWidth(w);
|
||||
}
|
||||
|
||||
K::Gnuplot& getGP() {
|
||||
return gp;
|
||||
}
|
||||
|
||||
@@ -119,6 +119,7 @@ public:
|
||||
bool obstacles = true;
|
||||
bool outline = true;
|
||||
bool outlineColorCustom = false;
|
||||
bool skipI1 = false;
|
||||
K::GnuplotColor outlineColor = K::GnuplotColor::fromRGB(128,128,128);
|
||||
float minZ = -9999;
|
||||
float maxZ = +9999;
|
||||
@@ -501,6 +502,16 @@ public:
|
||||
if (floor->atHeight < settings.minZ) {continue;}
|
||||
if (floor->atHeight > settings.maxZ) {continue;}
|
||||
|
||||
// for toni
|
||||
if (settings.skipI1) {
|
||||
if (floor->atHeight == 4) {
|
||||
//if (poly->poly.points[2].y < 0) {
|
||||
if (poly->poly.points[0].x > 70 && poly->poly.points[0].y < 50) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const float v = 180 + vo;
|
||||
|
||||
K::GnuplotColor color = K::GnuplotColor::fromRGB(v,v,v);
|
||||
|
||||
Reference in New Issue
Block a user