next up previous contents index
Next: Gpic Up: Terminal Previous: Gif   Contents   Index


Gnugraph(GNU plotutils)

The gnugraph driver produces device-independent output in the GNU plot graphics language. The default size of the PostScript results generated by "plot2ps" is 5 x 3 inches; this can be increased up to about 8.25 x 8.25 by set size.

Syntax:

     set terminal gnugraph {"<fontname>"} {<fontsize>}
                           {type <pt>} {size "<size>"}

which defaults to 10-point "Courier".

For type, the following options are accepted: X, pnm, gif, ai, ps, cgm, fig, pcl5, hpgl, tek, and meta (default). The size option (default is a4) is passed straight through to plotutils, it's the user's responsibility to provide correct values. Details can be found in the plotutils documentation.

Examples:

     set terminal gnugraph type hpgl size "a4"
     set terminal gnugraph size "a4,xoffset=-5mm,yoffset=2.0cm" type pnm

There is a non-GNU version of the gnugraph driver which cannot be compiled unless this version is left out.


Ethan Merritt 2007-03-03