GnuDraw script files

Included with GnuDraw are script/batch-files which simplify the use of the output files with extension .plb.
The batchfiles are called passing along the filename (without extension, under Windows), and optionally an indication of the output type, font size and the size of the output graph.

The general format is

plb2x <filename> [<output type> <fontsize> <output size>]
with options
<output type>
Choice of scr, eps, epsc, fig, gif, png, tex for output on the screen, in EPS format, in EPS format using colours, in XFig format, as a GIF (some platforms only) or PNG file, or as a file which can be included in a LaTeX document.
<fontsize>
Specify the fontsize; the default is 10 (tex) or 14 (eps, epsc, fig). Other formats cannot change the fontsize easily.
<output size>
Specify the size of the output graph. This only works if the original graph contains only one graphing window, else the size has to be specified from Ox. Standard size is 1 1 (eps, epsc, fig, tex, scr) or 640 480 (gif).
If no options are specified, the graph is displayed on screen.

A second batch file can be called as e.g.

  alplbx x [<output type> <fontsize> <output size>]
This script searches for all files x*.plb, and transforms them to the specified output type. If no output type is specified, all graphs are shown on screen again.