Suppresses plot when save option is swithced on

This commit is contained in:
2019-10-14 09:22:46 +01:00
parent 2096238ff6
commit 161c06292e
+7 -2
View File
@@ -123,8 +123,13 @@ int main(int argc, char *argv[])
p.save(save + "/" + title); p.save(save + "/" + title);
} }
cout << "Displaying plot..." << endl; else
p.display(); {
cout << "Displaying plot..." << endl;
p.display();
}
// output ////////////////////////////////////////////////////////////////// // output //////////////////////////////////////////////////////////////////
if (!outFileName.empty()) if (!outFileName.empty())