1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

Suppresses plot when save option is swithced on

This commit is contained in:
Andrew Zhen Ning Yong 2019-10-14 09:22:46 +01:00
parent 2096238ff6
commit 161c06292e

View File

@ -123,8 +123,13 @@ int main(int argc, char *argv[])
p.save(save + "/" + title); p.save(save + "/" + title);
} }
else
{
cout << "Displaying plot..." << endl; cout << "Displaying plot..." << endl;
p.display(); p.display();
}
// output ////////////////////////////////////////////////////////////////// // output //////////////////////////////////////////////////////////////////
if (!outFileName.empty()) if (!outFileName.empty())