1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-29 10:24:51 +00:00

Fix postscript generation

This commit is contained in:
Carles Fernandez 2017-10-21 16:33:26 +02:00
parent c4ba566c42
commit e006b66f51

View File

@ -1065,7 +1065,9 @@ Gnuplot& Gnuplot::savetops(const std::string &filename)
cmd("set terminal postscript color");
std::ostringstream cmdstr;
cmdstr << "set output \"" << filename << ".ps\"";
cmdstr << "set term postscript\n";
cmdstr << "set output \"" << filename << ".ps\"\n";
cmdstr << "replot";
cmd(cmdstr.str());
return *this;