gnuplot documentation
gnuplot documentation
gnuplot documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
200 <strong>gnuplot</strong> 4.3 77 TERMINAL<br />
you probably have to install one of the Adobe or OpenOffice Symbol fonts, and remove the Microsoft<br />
one. Other non-conform fonts, such as "wingdings" have been observed working.<br />
The rendering of the plot can be altered with a dialog available from the toolbar. To obtain the best<br />
output possible, the rendering involves three mechanisms : antialiasing, oversampling and hinting. Antialiasing<br />
allows to display non-horizontal and non-vertical lines smoother. Oversampling combined with<br />
antialiasing provides subpixel accuracy, so that <strong>gnuplot</strong> can draw a line from non-integer coordinates.<br />
This avoids wobbling effects on diagonal lines (’plot x’ for example). Hinting avoids the blur on horizontal<br />
and vertical lines caused by oversampling. The terminal will snap these lines to integer coordinates<br />
so that a one-pixel-wide line will actually be drawn on one and only one pixel.<br />
By default, the window is raised to the top of your desktop when a plot is drawn. This can be controlled<br />
with the keyword "raise". The keyword "persist" will prevent <strong>gnuplot</strong> from exiting before you explicitely<br />
close all the plot windows. Finally, by default the key raises the <strong>gnuplot</strong> console window, and ’q’<br />
closes the plot window. The keyword "ctrl" allows you to replace those bindings by + and<br />
+’q’, respectively. These three keywords (raise, persist and ctrl) can also be set and remembered<br />
between sessions through the configuration dialog.<br />
77.76 X11<br />
<strong>gnuplot</strong> provides the x11 terminal type for use with X servers. This terminal type is set automatically<br />
at startup if the DISPLAY environment variable is set, if the TERM environment variable is set to<br />
xterm, or if the -display command line option is used.<br />
Syntax:<br />
set terminal x11 {}<br />
{title ""}<br />
{{no}enhanced}<br />
{font }<br />
{{no}persist} {{no}raise} {solid|dashed} {{no}ctrlq}<br />
{close}<br />
set terminal x11 {reset}<br />
Multiple plot windows are supported: set terminal x11 directs the output to plot window number<br />
n. If n is not 0, the terminal number will be appended to the window title (unless a title has been supplied<br />
manually) and the icon will be labeled Gnuplot . The active window may be distinguished by a<br />
change in cursor (from default to crosshair).<br />
The x11 terminal support enhanced text mode (see enhanced (p. 186)), subject to the available fonts.<br />
In order for font size commands embedded in text to have any effect, the default x11 font must be<br />
scalable. Thus the first example below will work as expected, but the second will not.<br />
set term x11 enhanced font "arial,15"<br />
set title ’{/=20 Big} Medium {/=5 Small}’<br />
set term x11 enhanced font "terminal-14"<br />
set title ’{/=20 Big} Medium {/=5 Small}’<br />
Plot windows remain open even when the <strong>gnuplot</strong> driver is changed to a different device. A plot window<br />
can be closed by pressing the letter q while that window has input focus, or by choosing close from a<br />
window manager menu. All plot windows can be closed by specifying reset, which actually terminates<br />
the subprocess which maintains the windows (unless -persist was specified). The close command can<br />
be used to close individual plot windows by number. However, after a reset, those plot windows left<br />
due to persist cannot be closed with the command close. A close without a number closes the current<br />
active plot window.<br />
The <strong>gnuplot</strong> outboard driver, <strong>gnuplot</strong> x11, is searched in a default place chosen when the program is<br />
compiled. You can override that by defining the environment variable GNUPLOT DRIVER DIR to<br />
point to a different location.<br />
Plot windows will automatically be closed at the end of the session unless the -persist option was given.