01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

36 SET-SHOW gnuplot 4.0 139<br />

or [no]raise are specified, they will override command line options and Xresources. Setting one of these<br />

options takes place immediately, so the behaviour of an already running driver can be modified.<br />

The option title "" will supply the title name of the window for the current plot window<br />

or plot window if a number is given. Where (or if) this title is shown depends on your X window<br />

manager.<br />

The size or aspect ratio of a plot may be changed by resizing the gnuplot window.<br />

Linewidths and pointsizes may be changed from within gnuplot with set linestyle.<br />

For terminal type x11, gnuplot accepts (when initialized) the standard X Toolkit options and resources<br />

such as geometry, font, and name from the command line arguments or a configuration file. See the X(1)<br />

man page (or its equivalent) for a description of such options.<br />

A number of other gnuplot options are available for the x11 terminal. These may be specified either<br />

as command-line options when gnuplot is invoked or as resources in the configuration file ".Xdefaults".<br />

They are set upon initialization and cannot be altered during a gnuplot session. (except persist and<br />

raise)<br />

36.59.78.1 X11 fonts Upon initial startup, the default font is taken from the X11 resources as set<br />

in the system or user .Xdefaults file or on the command line.<br />

Example:<br />

gnuplot*font: lucidasans-bold-12<br />

A new default font may be specified to the x11 driver from inside gnuplot using<br />

‘set term x11 font ""‘<br />

The driver first queries the X-server for a font of the exact name given, for example set<br />

term x11 font "lucidasans-10". If this query fails, then it tries to interpret as<br />

",,," and to construct a full X11 font name of the form<br />

-*----*-*--*-*-*-*-*-<br />

is the base name of the font (e.g. Times or Symbol)<br />

is the point size (defaults to 12 if not specified)<br />

is ‘i‘ if =="italic" ‘o‘ if =="oblique" ‘r‘ otherwise<br />

is ‘medium‘ or ‘bold‘ if explicitly requested, otherwise ‘*‘<br />

is set based on the current character set (see help for ‘set encoding‘).<br />

So set term x11 font "arial,15,italic" will be translated to -*-arial-*-i-*-*-15-*-*-*-*-*-iso8859-1<br />

(assuming default encoding). The , , and specifications are all optional. If you<br />

do not specify or then you will get whatever font variant the font server offers first.<br />

The driver also recognizes some common PostScript font names and replaces them with possible X11 or<br />

TrueType equivalents. This same sequence is used to process font requests from set label.<br />

36.59.78.2 Command-line options In addition to the X Toolkit options, the following options<br />

may be specified on the command line when starting gnuplot or as resources in your ".Xdefaults" file<br />

(note that raise and persist can be overridden later by set term x11 [no]raise [no]persist):<br />

‘-mono‘<br />

‘-gray‘<br />

‘-clear‘<br />

‘-tvtwm‘<br />

‘-raise‘<br />

‘-noraise‘<br />

‘-noevents‘<br />

‘-persist‘<br />

forces monochrome rendering on color displays.<br />

requests grayscale rendering on grayscale or color displays.<br />

(Grayscale displays receive monochrome rendering by default.)<br />

requests that the window be cleared momentarily before a<br />

new plot is displayed.<br />

requests that geometry specifications for position of the<br />

window be made relative to the currently displayed portion<br />

of the virtual root.<br />

raises plot window after each plot.<br />

does not raise plot window after each plot.<br />

does not process mouse and key events.<br />

plot windows survive after main gnuplot program exits.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!