aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-09-29 16:02:45 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-09-29 16:02:45 -0300
commit4cad7b34f3a860d4537c1513f63d78d337b60c62 (patch)
tree5b1bee6d5a48147b07c73bfac0a1d5e59742f4fa
parent75c5affd4d7919a969ab65a4a28b6306686e5f9c (diff)
Inital subsample is the first history item by default.
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 7027be8..68ba73d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -109,6 +109,7 @@ int main(int argc, char **argv)
plot->setColorScale(&colorScale);
plot->setColorData(labels);
+ history->addHistoryItem(Ys);
subsamplePlot->setXY(Ys);
subsamplePlot->setColorData(labels(sampleIndices));