eognuplot1dsnapshot.cpp

来自「这是linux下的进化计算的源代码。 === === === === ==」· C++ 代码 · 共 33 行

CPP
33
字号
#ifdef HAVE_CONFIG_H#include <config.h>#endif#include "eoGnuplot1DSnapshot.h"eoMonitor& eoGnuplot1DSnapshot::operator()(){    // update file using the eoFileMonitor method    eoFileSnapshot::operator()();#ifdef HAVE_GNUPLOT    // sends plot order to gnuplot    std::ostringstream os;    os << "set title 'Gen. " << getCounter() << "'; plot '"        // mk: had to use getFilename().c_str(),        // because it seems the string(stream) lib is screwed in gcc3.2       << getFileName().c_str() << "' notitle with points ps " << pointSize       << std::endl;    PipeComSend(gpCom, os.str().c_str());#endif    return *this;}// Local Variables:// c-file-style: "Stroustrup"// fill-column: 80// End:

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?