00001 // GnuPlotterSingleRun.cpp: implementation of the GnuPlotterSingleRun class. 00002 // 00004 00005 #include "GnuPlotterSingleRun.h" 00006 00008 // Construction/Destruction 00010 00011 GnuPlotterSingleRun::GnuPlotterSingleRun() 00012 { 00013 00014 } 00015 00016 GnuPlotterSingleRun::~GnuPlotterSingleRun() 00017 { 00018 00019 } 00020 00021 // sets up titles, axes labels, grids, etc. 00022 00023 void GnuPlotterSingleRun::SetPlotAttributes() 00024 { 00025 char commandString[500]; 00026 00027 sprintf(commandString,"set title \"%s\"\n",title); 00028 strcat(commandString,"set grid\n"); 00029 strcat(commandString,"set xlabel \"time (min)\"\nset ylabel \"[Chemical] (molecules)\"\n"); 00030 SendPlotCommand(commandString); 00031 00032 return; 00033 }