Changeset 78 for trunk/lib/Stats.cc


Ignore:
Timestamp:
Mar 10, 2006, 8:45:28 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Added title to plot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.cc

    r77 r78  
    103103  std::string Stats::plot(const std::string& name) const
    104104  {
    105     std::string cmd=std::string("set term png; set output '")+name+"'";
    106105    GnuplotFE* gp=GnuplotFE::instance();
    107     gp->command(cmd);
     106    gp->command(std::string("set term png; set output '")+name+"'");
     107    gp->command(std::string("set title '")+name+"'");
    108108    gp->command("set key default");
    109109    gp->command("set key left Left reverse");
Note: See TracChangeset for help on using the changeset viewer.