def to_gnuplot_datafile(self, datafilepath):
        """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
        """
        try:
            datafile = file(datafilepath, "wb")
        except Exception:
            return False

        if self._timestampFormat is None:
            self._timestampFormat = _STR_EPOCHS

        datafile.write("# time_as_<%s> value..." % self._timestampFormat)

        convert = TimeSeries.convert_epoch_to_timestamp
        for datapoint in self._timeseriesData:
            timestamp = datapoint[0]
            values = datapoint[1:]
            if self._timestampFormat is not None:
                timestamp = convert(timestamp, self._timestampFormat)

            datafile.write("%s %s" % (timestamp, " ".join([str(entry) for entry in values])))

        datafile.close()
        return True