3.3 Reading data from a pipe

PyXPlot usually reads data from a file, but it possible to read data via a pipe from standard input. To do this one uses the magic filename ‘-’:

plot '-' with lines

This facility should be used with caution; it is generally preferable to write data to a file in order that it can be perused at a later date.