code: def to_gnuplot_datafile(self, datafilepath):
          
          try:
              datafile = file(datafilepath, "wb")
          except Exception:
              return False
  
          if self._timestampFormat is None:
              self._timestampFormat = _STR_EPOCHS
  
          datafile.write("# time_as_<%s> value\n" % self._timestampFormat)
  
          convert = TimeSeries.convert_epoch_to_timestamp
          for datapoint in self._timeseriesData:
              timestamp, value = datapoint
              if self._timestampFormat is not None:
                  timestamp = convert(timestamp, self._timestampFormat)
  
              datafile.write("%s %s\n" % (timestamp, value))
  
          datafile.close()
          return True
docs: Dumps the TimeSeries into a gnuplot compatible data file.
  
          :param string datafilepath:    Path used to create the file. If that file already exists,
              it will be overwritten!
  
          :return:   Returns :py:const:`True` if the data could be written, :py:const:`False` otherwise.
          :rtype:    boolean