diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-11 15:46:23 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-11 15:46:23 +0100 |
commit | c069008f3c101a88da12ecf00452d61f1155c316 (patch) | |
tree | c80861b37f7cb58b53fbe71e93e8cf5d2fc04501 /scatterplot.h | |
parent | a09992bd876495ac9e24ed3fb1fac9b3b2dd7948 (diff) |
Scatterplot: new methods for setting visual attrs without issuing update()s.
* Also added calls to these new methods in main().
Diffstat (limited to 'scatterplot.h')
-rw-r--r-- | scatterplot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scatterplot.h b/scatterplot.h index 8f2c8c4..d0153c0 100644 --- a/scatterplot.h +++ b/scatterplot.h @@ -18,6 +18,8 @@ public: arma::mat XY() const; void setColorScale(ColorScale *colorScale); + void setXY(const arma::mat &xy, bool updateView); + void setColorData(const arma::vec &colorData, bool updateView); Q_INVOKABLE bool saveToFile(const QUrl &url); signals: |