Credits | Overview | Plotting Styles | Commands | Terminals
--- | --- | --- | --- | ---

## pm

The pm terminal driver provides an OS/2 Presentation Manager window in which the graph is plotted. The window is opened when the first graph is plotted. This window has its own online help as well as facilities for printing and copying to the clipboard.

Syntax:

          set terminal pm      {{server} {n} | noserver}
                               {nopersist | persist}
                               {enhanced | noenhanced}
                               {font <fontspec>}
                               {nowidelines | widelines}
                               {fontscale <scale>}
                               {linewidth <scale>}
                               {pointscale <scale>}
                               {{title} "title"}

If persist is specified, each graph appears in its own window and all windows remain open after gnuplot exits. If server is specified, all graphs appear in the same window, which remains open when gnuplot exits. This option takes an optional numerical argument which specifies an instance of the server process. Thus multiple server windows can be in use at the same time.

If widelines is specified, all plots will be drawn with wide lines. If enhanced is specified, sub- and superscripts and multiple fonts are enabled (see enhanced text for details). Font names for the core PostScript fonts may be abbreviated to a single letter (T/H/C/S for Times/Helvetica/Courier/Symbol).

linewidth, fontscale, pointscale can be used to scale the width of lines, the size of text, or the size of the point symbols.

If title is specified, it will be used as the title of the plot window. It will also be used as the name of the server instance, and will override the optional numerical argument.

The gnuplot outboard driver, gnupmdrv.exe, is searched in the same directory as gnuplot itself. You can override that by defining one of the environment variables GNUPLOT_DRIVER_DIR or GNUPLOT. As a last resort the current directory and the PATH are tried to locate gnupmdrv.exe.