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

3.12 load

The ‘load‘ command executes each line of the specified input file as if it had been typed in interactively. Files created by the save command can later be ‘load‘ed. Any text file containing valid commands can be created and then executed by the ‘load‘ command. Files being ‘load‘ed may themselves contain ‘load‘ or call commands. See ‘comments‘ for information about comments in commands. To ‘load‘ with arguments, see call.


      load "<input-file>"

The name of the input file must be enclosed in quotes.

The special filename "-" may be used to ‘load‘ commands from standard input. This allows a ‘gnuplot‘ command file to accept some commands from standard input. Please see help for ‘batch/interactive‘ for more details.

On some systems which support a popen function (Unix), the load file can be read from a pipe by starting the file name with a ’<’.


      load 'work.gnu'
      load "func.dat"
      load "<"

The ‘load‘ command is performed implicitly on any file names given as arguments to ‘gnuplot‘. These are loaded in the order specified, and then ‘gnuplot‘ exits.

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

This document was generated on February 28, 2014 using texi2html 5.0.

© 2000-2020
Individual documents may contain additional copyright information.