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:
parent
c4ba566c42
commit
e006b66f51
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user