manpagez: man pages & more
info gnuplot
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.25.50 output

By default, screens are displayed to the standard output. The output command redirects the display to the specified file or device.

Syntax:

      set output {"<filename>"}
      show output

The filename must be enclosed in quotes. If the filename is omitted, any output file opened by a previous invocation of output will be closed and new output will be sent to STDOUT. (If you give the command ‘set output "STDOUT"‘, your output may be sent to a file named "STDOUT"! ["May be", not "will be", because some terminals, like ‘x11‘ or ‘wxt‘, ignore output.])

When both terminal and output are used together, it is safest to give terminal first, because some terminals set a flag which is needed in some operating systems. This would be the case, for example, if the operating system needs to know whether or not a file is to be formatted in order to open it properly.

On machines with popen functions (Unix), output can be piped through a shell command if the first non-whitespace character of the filename is ’|’. For instance,

      set output "|lpr -Plaser filename"
      set output "|lp -dlaser filename"

On MSDOS machines, ‘set output "PRN"‘ will direct the output to the default printer. On VMS, output can be sent directly to any spooled device. It is also possible to send the output to DECnet transparent tasks, which allows some flexibility.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on April 4, 2012 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.