Exemple #1
0
        def get_base_command_string(self):
            """Create the gnuplot command for plotting this item.

            The basecommand is different each time because each FIFOWriter
            creates a new FIFO.

            """

            # Create a new FIFO and a thread to write to it.  Retrieve the
            # filename of the FIFO to be used in the basecommand.
            fifo = _FIFOWriter(self.content, self.mode)
            return gp.double_quote_string(fifo.filename)
Exemple #2
0
 def get_base_command_string(self):
     return gp.double_quote_string(self.filename)