public void writeLine(long time,double[] column){
  String str=Long.toString(time);
  for (int i=0; i < column.length; ++i) {
    str+=", " + column[i];
  }
  writer.println(str);
}

public void writeLine ( long time , double [ ] column ) { String str = Long . toString ( time ) ; for ( int i = 0 ; i < column . length ; ++ i ) { str += ", " + column [ i ] ; } writer . println ( str ) ; }
write a line of values to the file with a timestamp
