gnuplot documentation
gnuplot documentation
gnuplot documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
77 TERMINAL <strong>gnuplot</strong> 4.3 183<br />
77.51 Pm<br />
The pm terminal driver provides an OS/2 Presentation Manager window in which the graph is plotted.<br />
The window is opened when the first graph is plotted. This window has its own online help as well as<br />
facilities for printing, copying to the clipboard and some line type and color adjustments. The multiplot<br />
option is supported.<br />
Syntax:<br />
set terminal pm {server {n}} {persist} {widelines} {enhanced} {"title"}<br />
If persist is specified, each graph appears in its own window and all windows remain open after <strong>gnuplot</strong><br />
exits. If server is specified, all graphs appear in the same window, which remains open when <strong>gnuplot</strong><br />
exits. This option takes an optional numerical argument which specifies an instance of the server process.<br />
Thus multiple server windows can be in use at the same time.<br />
If widelines is specified, all plots will be drawn with wide lines. If enhanced is specified, sub- and<br />
superscripts and multiple fonts are enabled using the same syntax as the enhanced postscript option<br />
(see set terminal postscript enhanced (p. 186) for details). Font names for the basic PostScript<br />
fonts may be abbreviated to single letters.<br />
If title is specified, it will be used as the title of the plot window. It will also be used as the name of<br />
the server instance, and will override the optional numerical argument.<br />
Linewidths may be changed with set linestyle.<br />
77.52 Png<br />
Syntax:<br />
set terminal png<br />
{{no}transparent} {{no}interlace}<br />
{{no}truecolor} {rounded|butt}<br />
{linewidth } {dashlength }<br />
{tiny | small | medium | large | giant}<br />
{font {}}<br />
{size ,} {{no}crop}<br />
{{no}enhanced}<br />
{ ...}<br />
PNG images are created using libgd, with optional support for TrueType and Adobe Type 1 fonts via<br />
libfreetype. Version 1.8 or greater of libgd is required.<br />
transparent instructs the driver to generate transparent PNGs. The first color will be the transparent<br />
one. Default is notransparent.<br />
interlace instructs the driver to generate interlaced PNGs. Default is nointerlace.<br />
By default a 256-color png image is produced. The truecolor option instead creates a TrueColor output<br />
image with 24 bits of color information per pixel. The use of transparent fill areas requires use of the<br />
truecolor option. A transparent background is possible in either indexed or TrueColor images.<br />
butt instructs the driver to use a line drawing method that does not overshoot the desired end point of<br />
a line. This setting is only applicable for line widths greater than 1. This setting is most useful when<br />
drawing horizontal or vertical lines. Default is rounded. Version 2.0 or greater of libgd is required.<br />
PNG plots may be conveniently viewed by piping the output to the ’display’ program from the ImageMagick<br />
package as follows:<br />
set term png<br />
set output ’| display png:-’<br />
View the output from successive plot commands interactively by hitting in the display window.<br />
To save a particular one to disk, left click in the display window and choose save.<br />
Five basic fonts are supported directly by the gd library. These are tiny (5x8 pixels), small (6x12<br />
pixels), medium, (7x13 Bold), large (8x16) or giant (9x15 pixels). These fonts cannot be scaled or<br />
rotated (pure horizontal or vertical text only).