Changeset 108


Ignore:
Timestamp:
Jun 28, 2006, 11:17:12 AM (15 years ago)
Author:
Peter Johansson
Message:

removed debug code

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Gnuplot.cc

    r107 r108  
    7979  int Gnuplot::command(const std::string& cmdstr)
    8080  {
    81     std::cout << cmdstr << std::endl;
    8281    int r = fputs(cmdstr.c_str(),pipe_);
    8382    if (!r && *(cmdstr.rbegin())!='\n')
  • trunk/test/gnuplot_pipe.cc

    r107 r108  
    2424#include "Gnuplot.h"
    2525
    26 #include <iostream>
    2726#include <vector>
    2827
     
    4039
    4140  svnstat::Gnuplot gnuplot1;
    42   //if (gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"))
    43   //ok = false;
    44     //if (gnuplot1.command("plot sin(x) title 'sine of x' with lines"))
    45     //ok = false;
     41  if (gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"))
     42    ok = false;
     43  if (gnuplot1.command("plot sin(x) title 'sine of x' with lines"))
     44    ok = false;
    4645
    4746  svnstat::Gnuplot gnuplot2;
    48   //if (gnuplot2.command("set output 'test2.png'; set term png"))
    49   //gnuplot2.plot(x);
     47  if (gnuplot2.command("set output 'test2.png'; set term png"))
     48    ok = false;
     49  gnuplot2.plot(x);
    5050
    5151  svnstat::Gnuplot gnuplot3;
Note: See TracChangeset for help on using the changeset viewer.