Trilat: Png Plots & distance labels

This commit is contained in:
2020-01-28 17:48:11 +01:00
parent bc7e0aa4cb
commit 6e169a7e71
2 changed files with 43 additions and 0 deletions

View File

@@ -356,6 +356,11 @@ public:
splot.getCustom() << "set label '" << txt << "' at " << pos.x << "," << pos.y << "," << pos.z << " front\n";
}
void addLabel(const std::string& txt, const Point3 pos, int tag) {
//gp << "set label '" << txt << "' at " << pos.x << "," << pos.y << "," << pos.z << "\n";
splot.getCustom() << "set label " << tag << " '" << txt << "' at " << pos.x << "," << pos.y << "," << pos.z << " front\n";
}
void setActivity(const int act) {
std::string activity = "Unkown";