Added a title (Gen. X) to the plot so you can follow what's going on
This commit is contained in:
parent
49dd11d2c5
commit
78a8f3cd57
1 changed files with 2 additions and 8 deletions
|
|
@ -92,16 +92,10 @@ inline eoMonitor& eoGnuplot1DSnapshot::operator() (void)
|
||||||
eoFileSnapshot::operator()();
|
eoFileSnapshot::operator()();
|
||||||
|
|
||||||
// sends plot order to gnuplot
|
// sends plot order to gnuplot
|
||||||
// assumes successive plots will have same nb of columns!!!
|
|
||||||
|
|
||||||
|
|
||||||
char buff[1024];
|
char buff[1024];
|
||||||
ostrstream os(buff, 1024);
|
ostrstream os(buff, 1024);
|
||||||
os << "plot";
|
os << "set title 'Gen. " << getCounter() << "'; plot '"
|
||||||
|
<< getFileName() << "' notitle with points ps " << pointSize << "\n";
|
||||||
os << " '" << getFileName().c_str() <<
|
|
||||||
"' notitle with points ps " << pointSize ;
|
|
||||||
os << "\n";
|
|
||||||
os << '\0';
|
os << '\0';
|
||||||
PipeComSend( gpCom, buff );
|
PipeComSend( gpCom, buff );
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue