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.
20 <strong>gnuplot</strong>6 4.3FEATURES INTRODUCED IN VERSION 4.0<br />
New:<br />
set title "Old" 0,-1<br />
set data linespoints<br />
plot 1 2 4 # horizontal line at y=1<br />
TITLE = "New"<br />
set title TITLE offset char 0, char -1<br />
set style data linespoints<br />
plot 1 linetype 2 pointtype 4<br />
Another compatibility issue is the effect of the command set size outside when not in multiplot mode.<br />
In earlier versions, the command set size , caused some terminals to change both the size<br />
of the plot and the size of the canvas is was drawn on; other terminatls changed only the plot size. The<br />
use of set size to change the canvas size is now deprecated.<br />
Please see set size (p. 129), set term size (p. 19) and also the <strong>documentation</strong> for individual terminals.<br />
6 Features introduced in version 4.0<br />
Gnuplot version 4.0 contained many features introduced since the preceding official version 3.7. These<br />
are summarized here.<br />
6.1 Mouse and hotkey support in interactive terminals<br />
Interaction with the current plot via mouse and hotkeys is supported for the X11, OS/2 Presentation<br />
Manager, ggi, Windows, and wxWidgets terminals. See mouse input (p. 33) for more information<br />
on mousing. See help for bind (p. 33) for information on hotkeys. Also see the <strong>documentation</strong> for<br />
individual mousing terminals ggi (p. 169), pm (p. 183), windows (p. 196), wxt (p. 198) and x11<br />
(p. 200).<br />
Sample script: mousevariables.dem<br />
6.2 New terminals<br />
aqua: New terminal for Mac OS X. Requires AquaTerm 1.0 or later.<br />
epslatex: New terminal. Prepares eps figures for inclusion in LaTeX documents.<br />
gif: Consolidated with png/jpeg terminals. Requires libgd.<br />
ggi: New full-screen interactive terminal for Linux. Interface to the General Graphics Interface Library.<br />
pdf: New terminal exporting Adobe Portable Document Format. Requires libpdf.<br />
png and jpeg: Support for GIF, PNG and JPEG image output is provided by a new driver via libgd.<br />
The new driver supports many more features than the old png driver, including TrueType fonts. Requires<br />
libgd.<br />
svg: New terminal exporting Scalable Vector Graphics.<br />
6.3 New plot style pm3d<br />
The splot command is now capable of plotting 2D maps and 3D surfaces colored by greyscale or color<br />
palettes. See help for set pm3d (p. 118), set palette (p. 122), set cbrange (p. 149), set view<br />
map (p. 139), set colorbox (p. 93) and test palette (p. 154).<br />
Sample scripts: pm3d.dem pm3dcolors.dem pm3dgamma.dem