GNU Info

Info Node: (gnuplot.info)Batch/Interactive Operation

(gnuplot.info)Batch/Interactive Operation


Next: Command-line-editing Prev: What's New in version 3.7 Up: gnuplot
Enter node , (file) or (file)node

 `gnuplot` (Note: gnuplot ) may be executed in either batch or interactive
 modes, and the two may even be mixed together on many systems.

 Any command-line arguments are assumed to be names of files containing
 `gnuplot` commands (with the exception of standard X11 arguments, which are
 processed first).  Each file is loaded with the `load` (Note: load )
 command, in the order specified.  `gnuplot` exits after the last file is
 processed.  When no load files are named, `gnuplot` enters into an interactive
 mode.  The special filename "-" is used to denote standard input.

 Both the `exit` (Note: exit ) and  `quit` (Note: quit ) commands terminate
 the current command file and `load` the next one, until all have been
 processed.

 Examples:

 To launch an interactive session:
       gnuplot

 To launch a batch session using two command files "input1" and "input2":
       gnuplot input1 input2

 To launch an interactive session after an initialization file "header" and
 followed by another command file "trailer":
       gnuplot header - trailer


automatically generated by info2www version 1.2.2.9