aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-11 13:19:51 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-11 13:19:51 +0100
commitc853b44dd138fd99e430580ec1bb1d0bd25293ff (patch)
tree0e890372f58586bf4537e5f9f56726d906c8b7d3 /main.cpp
parentcaa8c6f2dc8bbf8eca0e6fe137d0654104601690 (diff)
Scatterplot: control whether splat is displayed.
* Subsample plot no longer displays splat
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 41d0ed0..672ffd5 100644
--- a/main.cpp
+++ b/main.cpp
@@ -187,6 +187,7 @@ int main(int argc, char **argv)
//ContinuousColorScale colorScale = ContinuousColorScale::builtin(ContinuousColorScale::RED_GRAY_BLUE);
//colorScale.setExtents(-1, 1);
Scatterplot *subsamplePlot = engine.rootObjects()[0]->findChild<Scatterplot *>("subsamplePlot");
+ subsamplePlot->setDisplaySplat(false);
subsamplePlot->setAcceptedMouseButtons(Qt::LeftButton | Qt::MiddleButton | Qt::RightButton);
// subsamplePlot->setColorData(arma::zeros<arma::vec>(subsampleSize));
subsamplePlot->setColorScale(&colorScale);