My Project
|
00001 /* 00002 $Id: GnuplotInterface.hh 1922 2008-04-12 14:06:11Z jisuzuki $ 00003 */ 00004 00005 #ifndef GNUPLOTINTERFACE 00006 #define GNUPLOTINTERFACE 00007 00008 #include "Header.hh" 00009 #include "ReadWriteTextFile.hh" 00010 00011 00013 00022 class GnuplotInterface 00023 { 00024 private: 00025 FILE *gid; 00026 vector<string> hi; 00027 00028 public: 00029 GnuplotInterface( string Command="gnuplot" ); 00034 ~GnuplotInterface(); 00037 void ExeCommand( string Command ); 00040 void e( string Command ){ ExeCommand( Command ); } 00043 void ExeCommandSave( string Command ); 00044 00045 void Clear(); 00049 void Dump(); 00053 void Save( string FileName ); 00056 void Replot(); 00061 }; 00062 00063 #endif