
- •Copyright
- •Introduction
- •Seeking-assistance
- •New features
- •New syntax
- •Local customization of linetypes
- •New plot styles
- •Revised polar axes
- •New smoothing algorithms
- •New time/date handling
- •Statistical summary of data
- •New or revised terminal drivers
- •Backwards compatibility
- •Batch/Interactive Operation
- •Canvas size
- •Command-line-editing
- •Comments
- •Coordinates
- •Datastrings
- •Enhanced text mode
- •Environment
- •Expressions
- •Functions
- •Elliptic integrals
- •Random number generator
- •Value
- •Operators
- •Unary
- •Binary
- •Ternary
- •Summation
- •Fonts
- •Cairo (pdfcairo, pngcairo, epscairo, wxt terminals)
- •Gd (png, gif, jpeg terminals)
- •Postscript (also encapsulated postscript *.eps)
- •Glossary
- •Linetypes, colors, and styles
- •Colorspec
- •Linecolor variable
- •Rgbcolor variable
- •Linestyles vs linetypes
- •Mouse input
- •Bind
- •Bind space
- •Mouse variables
- •Plotting
- •Start-up (initialization)
- •String constants and string variables
- •Substitution and Command line macros
- •Substitution of system commands in backquotes
- •Substitution of string variables as macros
- •String variables, macros, and command line substitution
- •Syntax
- •Quote Marks
- •Time/Date data
- •Boxerrorbars
- •Boxes
- •Boxplot
- •Boxxyerrorbars
- •Candlesticks
- •Circles
- •Ellipses
- •Dots
- •Filledcurves
- •Financebars
- •Fsteps
- •Fillsteps
- •Histeps
- •Histograms
- •Newhistogram
- •Automated iteration over multiple columns
- •Image
- •Transparency
- •Image failsafe
- •Impulses
- •Labels
- •Lines
- •Linespoints
- •Points
- •Polar
- •Steps
- •Rgbalpha
- •Rgbimage
- •Vectors
- •Xerrorbars
- •Xyerrorbars
- •Yerrorbars
- •Xerrorlines
- •Xyerrorlines
- •Yerrorlines
- •3D (surface) plots
- •2D projection (set view map)
- •Call
- •Clear
- •Evaluate
- •Exit
- •Adjustable parameters
- •Short introduction
- •Error estimates
- •Statistical overview
- •Practical guidelines
- •Control
- •Control variables
- •Environment variables
- •Multi-branch
- •Starting values
- •Tips
- •Help
- •History
- •Iteration
- •Load
- •Lower
- •Pause
- •Plot
- •Axes
- •Binary
- •General
- •Array
- •Record
- •Skip
- •Format
- •Endian
- •Filetype
- •Keywords
- •Data
- •Every
- •Index
- •Smooth
- •Thru
- •Using
- •Volatile
- •Errorbars
- •Errorlines
- •Functions
- •Parametric
- •Ranges
- •Iteration
- •Title
- •With
- •Quit
- •Raise
- •Refresh
- •Replot
- •Reread
- •Reset
- •Save
- •Set-show
- •Angles
- •Arrow
- •Autoscale
- •Parametric mode
- •Polar mode
- •Bars
- •Bind
- •Bmargin
- •Border
- •Boxwidth
- •Clabel
- •Clip
- •Cntrparam
- •Color box
- •Colornames
- •Contour
- •Data style
- •Decimalsign
- •Dgrid3d
- •Dummy
- •Encoding
- •Fontpath
- •Format
- •Gprintf
- •Function style
- •Functions
- •Grid
- •Hidden3d
- •Historysize
- •Isosamples
- •Key placement
- •Key samples
- •Label
- •Linetype
- •Lmargin
- •Loadpath
- •Locale
- •Logscale
- •Macros
- •Mapping
- •Margin
- •Mouse
- •Doubleclick
- •Mouseformat
- •Scrolling
- •X11 mouse
- •Zoom
- •Multiplot
- •Mx2tics
- •Mxtics
- •My2tics
- •Mytics
- •Mztics
- •Object
- •Rectangle
- •Ellipse
- •Circle
- •Polygon
- •Origin
- •Output
- •Parametric
- •Plot
- •Algorithm
- •Position
- •Scanorder
- •Clipping
- •Hidden3d
- •Interpolate
- •Palette
- •Rgbformulae
- •Functions
- •Cubehelix
- •File
- •Gamma correction
- •Postscript
- •Pointintervalbox
- •Pointsize
- •Polar
- •Psdir
- •Raxis
- •Rmargin
- •Rrange
- •Rtics
- •Samples
- •Size
- •Style
- •Set style arrow
- •Boxplot
- •Set style data
- •Set style function
- •Set style increment
- •Set style line
- •Set style circle
- •Set style rectangle
- •Set style ellipse
- •Surface
- •Table
- •Terminal
- •Termoption
- •Tics
- •Ticslevel
- •Ticscale
- •Timestamp
- •Timefmt
- •Title
- •Tmargin
- •Trange
- •Urange
- •Variables
- •Version
- •View
- •Vrange
- •X2data
- •X2dtics
- •X2label
- •X2mtics
- •X2range
- •X2tics
- •X2zeroaxis
- •Xdata
- •Xdtics
- •Xlabel
- •Xmtics
- •Xrange
- •Xtics
- •Xtics rangelimited
- •Xyplane
- •Xzeroaxis
- •Y2data
- •Y2dtics
- •Y2label
- •Y2mtics
- •Y2range
- •Y2tics
- •Y2zeroaxis
- •Ydata
- •Ydtics
- •Ylabel
- •Ymtics
- •Yrange
- •Ytics
- •Yzeroaxis
- •Zdata
- •Zdtics
- •Zzeroaxis
- •Cbdata
- •Cbdtics
- •Zero
- •Zeroaxis
- •Zlabel
- •Zmtics
- •Zrange
- •Ztics
- •Cblabel
- •Cbmtics
- •Cbrange
- •Cbtics
- •Shell
- •Splot
- •Matrix
- •Grid data
- •Splot surfaces
- •Stats (Statistical Summary)
- •System
- •Test
- •Unset
- •Update
- •While
- •Complete list of terminals
- •Aifm
- •Aqua
- •Cairolatex
- •Canvas
- •Cgm font
- •Cgm fontsize
- •Cgm linewidth
- •Cgm rotate
- •Cgm solid
- •Cgm size
- •Cgm width
- •Cgm nofontlist
- •Context
- •Requirements
- •Calling gnuplot from ConTeXt
- •Corel
- •Debug
- •Dumb
- •Eepic
- •Emxvga
- •Epscairo
- •Epslatex
- •Excl
- •Examples
- •Gpic
- •Grass
- •Hpgl
- •Hpljii
- •Hppj
- •Imagen
- •Jpeg
- •Latex
- •Linux
- •Lua tikz
- •Macintosh
- •METAFONT Instructions
- •Metapost Instructions
- •Next
- •Openstep (next)
- •Pdfcairo
- •Examples
- •Pngcairo
- •Postscript
- •Editing postscript
- •Postscript prologue
- •Postscript adobeglyphnames
- •Pslatex and pstex
- •Pstricks
- •Regis
- •Svga
- •Texdraw
- •Tgif
- •Tikz
- •Tkcanvas
- •Tpic
- •Vgagl
- •Windows
- •Graph-menu
- •Printing
- •Text-menu
- •Wgnuplot.mnu
- •Wgnuplot.ini
- •Xlib
- •Known limitations
- •External libraries

184 |
gnuplot 4.6 |
will result in
\setupbodyfont[myfont,ss,10pt]
If you additionaly set fontscale to 0.8 for example, then the resulting font will be 8pt big and set label ... font "myfont,12"
will come out as 9.6pt.
It is your own responsibility to provide proper typescripts (and header), otherwise switching the font will have no e ect. For a standard font in ConTeXt MKII (pdfTeX) you could use:
set terminal context standalone header '\usetypescript[iwona][ec]' \ font "iwona,ss,11"
Please take a look into ConTeXt documentation, wiki or mailing list (archives) for any up-to-date information about font usage.
Examples: |
|
set terminal context size 10cm, 5cm |
# 10cm, 5cm |
set terminal context size 4in, 3in |
# 4in, 3in |
For standalone (whole-page) plots with labels in UTF-8 encoding:
set terminal context standalone header '\enableregime[utf-8]'
Requirements
You need gnuplot module for ConTeXt
http://ctan.org/pkg/context-gnuplot
and a recent version of ConTeXt. If you want to call gnuplot on-the- y, you also need write18 enabled. In most TeX distributions this can be set with shell escape=t in texmf.cnf.
See
http://wiki.contextgarden.net/Gnuplot
for details about this terminal and for more exhaustive help & examples.
Calling gnuplot from ConTeXt
The easiest way to make plots in ConTeXt documents is
\usemodule[gnuplot]
\starttext
\title{How to draw nice plots with {\sc gnuplot}?} \startGNUPLOTscript[sin]
set format y "%.1f"
plot sin(x) t '$\sin(x)$' \stopGNUPLOTscript \useGNUPLOTgraphic[sin] \stoptext
This will run gnuplot automatically and include the resulting gure in the document.
Corel
The corel terminal driver supports CorelDraw.
Syntax:
set terminal corel { default
| {monochrome | color {"<font>" {<fontsize>
{<xsize> <ysize> {<linewidth> }}}}}
gnuplot 4.6 |
185 |
where the fontsize and linewidth are speci ed in points and the sizes in inches. The defaults are monochrome, "SwitzerlandLight", 22, 8.2, 10 and 1.2.
Debug
This terminal is provided to allow for the debugging of gnuplot. It is likely to be of use only for users who are modifying the source code.
Dumb
The dumb terminal driver plots into a text block using ascii characters. It has an optional size speci cation and a trailing linefeed ag.
Syntax:
set terminal dumb {size <xchars>,<ychars>} {[no]feed} {[no]enhanced}
where <xchars> and <ychars> set the size of the text block. The default is 79 by 24. The last newline is printed only if feed is enabled.
Example:
set term dumb size 60,15
plot [-5:6.5] sin(x) with impulse
1 |
+ |
------------------------------------------------- |
|
|
|
|
+ |
0.8 |
+|||++ ---- |
|
|
++||||++ |
sin(x) + |
+ | |
|
0.6 |
+|||||+ |
|
|
++|||||||+ |
|
| |
|
0.4 |
+||||||+ |
|
|
++|||||||||+ |
|
| |
|
0.2 |
+|||||||+ |
|
++|||||||||||+ |
|
+| |
||
0 |
++++++++++++++++++++++++++++++++++++++++++++++++++| |
||||||
-0.2 |
+ |
|
+|||||||||||+ |
|
|
+|||||||||||+ | |
|
-0.4 |
+ |
|
+|||||||||+ |
|
|
+|||||||||+ |
| |
-0.6 |
+ |
|
+|||||||+ |
|
|
+|||||||+ |
| |
-0.8 |
+ |
+ |
++||||+ |
+ |
+ |
++||||+ |
+ | |
-1 +--- -------- -------- ------- -------- -------- |
+ |
+ |
+ |
+ |
+ |
+-+ |
|
|
|
- 4 |
-2 |
0 |
2 |
4 |
6 |
Dxf
The dxf terminal driver creates pictures that can be imported into AutoCad (Release 10.x). It has no options of its own, but some features of its plots may be modi ed by other means. The default size is 120x80 AutoCad units, which can be changed by set size. dxf uses seven colors (white, red, yellow, green, cyan, blue and magenta), which can be changed only by modifying the source le. If a black-and-white plotting device is used, the colors are mapped to di ering line thicknesses. See the description of the AutoCad print/plot command.
Dxy800a
This terminal driver supports the Roland DXY800A plotter. It has no options.
Eepic
The eepic terminal driver supports the extended LaTeX picture environment. It is an alternative to the latex driver.
186 |
gnuplot 4.6 |
The output of this terminal is intended for use with the "eepic.sty" macro package for LaTeX. To use it, you need "eepic.sty", "epic.sty" and a printer driver that supports the "tpic" nspecials. If your printer driver doesn't support those nspecials, "eepicemu.sty" will enable you to use some of them. dvips and dvipdfm do support the "tpic" nspecials.
Syntax:
set terminal eepic {default} {color|dashed} {rotate} {size XX,YY} {small|tiny|<fontsize>}
Options: You can give options in any order you wish. 'color' causes gnuplot to produce ncolorf...g commands so that the graphs are colored. Using this option, you must include nusepackagefcolorg in the preambel of your latex document. 'dashed' will allow dashed line types; without this option, only solid lines with varying thickness will be used. 'dashed' and 'color' are mutually exclusive; if 'color' is speci ed, then 'dashed' will be ignored. 'rotate' will enable true rotated text (by 90 degrees). Otherwise, rotated text will be typeset with letters stacked above each other. If you use this option you must include nusepackagefgraphicxg in the preamble. 'small' will use nscriptsize symbols as point markers (Probably does not work with TeX, only LaTeX2e). Default is to use the default math size. 'tiny' uses nscriptscriptstyle symbols. 'default' resets all options to their defaults = no color, no dashed lines, pseudo-rotated (stacked) text, large point symbols. <fontsize> is a number which speci es the font size inside the picture environment; the unit is pt (points), i.e., 10 pt equals approx. 3.5 mm. If fontsize is not speci ed, then all text inside the picture will be set in nfootnotesize.
Notes: Remember to escape the # character (or other chars meaningful to (La-)TeX) by nn (2 backslashes). It seems that dashed lines become solid lines when the vertices of a plot are too close. (I do not know if that is a general problem with the tpic specials, or if it is caused by a bug in eepic.sty or dvips/dvipdfm.) The default size of an eepic plot is 5x3 inches. You can change this using the size terminal option. Points, among other things, are drawn using the LaTeX commands "nDiamond", "nBox", etc. These commands no longer belong to the LaTeX2e core; they are included in the latexsym package, which is part of the base distribution and thus part of any LaTeX implementation. Please do not forget to use this package. Instead of latexsym, you can also include the amssymb package. All drivers for LaTeX o er a special way of controlling text positioning: If any text string begins with 'f', you also need to include a 'g' at the end of the text, and the whole text will be centered both horizontally and vertically. If the text string begins with '[', you need to follow this with a position speci cation (up to two out of t,b,l,r), ']f', the text itself, and nally 'g'. The text itself may be anything LaTeX can typeset as an LR-box. 'nrulefgfg's may help for best positioning.
Examples: set term eepic
output graphs as eepic macros inside a picture environment; \input the resulting file in your LaTeX document.
set term eepic color tiny rotate 8
eepic macros with \color macros, \scripscriptsize point markers, true rotated text, and all text set with 8pt.
About label positioning: Use gnuplot defaults (mostly sensible, but sometimes not really best): set title '\LaTeX\ -- $ \gamma $'
Force centering both horizontally and vertically:
set label '{\LaTeX\ -- $ \gamma $}' at 0,0
Specify own positioning (top here):
set xlabel '[t]{\LaTeX\ -- $ \gamma $}'
The other label { account for long ticlabels:
set ylabel '[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}'
Emf
The emf terminal generates an Enhanced Meta le Format le. This le format is recognized by many Windows applications.
Syntax:
gnuplot 4.6 |
187 |
set terminal emf {color | monochrome} {solid | dashed} {enhanced {noproportional}}
{rounded | butt}
{linewidth <LW>} {dashlength <DL>} {size XX,YY} {background <rgb_color>} {font "<fontname>{,<fontsize>}"} {fontscale <scale>}
In monochrome mode successive line types cycle through dash patterns. In color mode successive line types use successive colors, and only after all 8 default colors are exhausted is the dash pattern incremented. solid draws all curves with solid lines, overriding any dashed patterns; linewidth <factor> multiplies all line widths by this factor. dashlength <factor> is useful for thick lines. <fontname> is the name of a font; and <fontsize> is the size of the font in points.
The nominal size of the output image defaults to 1024x768 in arbitrary units. You may specify a di erent nominal size using the size option.
Enhanced text mode tries to approximate proportional character spacing. If you are using a monospaced font, or don't like the approximation, you can turn o this correction using the noproportional option.
The default settings are color dashed font "Arial,12" size 1024,768 Selecting default sets all options to their default values.
Examples:
set |
terminal |
emf |
'Times Roman Italic, 12' |
|
set |
terminal |
emf |
color solid |
# no pesky dashes! |
Emxvga
The emxvga, emxvesa and vgal terminal drivers support PCs with SVGA, vesa SVGA and VGA graphics boards, respectively. They are intended to be compiled with "emx-gcc" under either DOS or OS/2. They also need VESA and SVGAKIT maintained by Johannes Martin (JMARTIN@GOOFY.ZDV.UNI-MAINZ.DE) with additions by David J. Liu (liu@phri.nyu.edu).
Syntax:
set terminal emxvga
set terminal emxvesa {vesa-mode} set terminal vgal
The only option is the vesa mode for emxvesa, which defaults to G640x480x256.
Epscairo
The epscairo terminal device generates encapsulated PostScript (*.eps) using the cairo and pango support libraries. cairo verion >= 1.6 is required.
Please read the help for the pdfcairo terminal.
Epslatex
The epslatex driver generates output for further processing by LaTeX.
Syntax: |
|
set terminal epslatex |
{default} |
set terminal epslatex |
{standalone | input} |
|
{oldstyle | newstyle} |
|
{level1 | leveldefault} |
|
{color | colour | monochrome} |
|
{background <rgbcolor> | nobackground} |
188 |
gnuplot 4.6 |
{solid | dashed} {dashlength | dl <DL>} {linewidth | lw <LW>} {rounded | butt} {clip | noclip}
{palfuncparam <samples>{,<maxdeviation>}} {size <XX>{unit},<YY>{unit}}
{header <header> | noheader} {blacktext | colortext | colourtext}
{{font} "fontname{,fontsize}" {<fontsize>}} {fontscale <scale>}
The epslatex terminal prints a plot as terminal postscript eps but transfers the texts to LaTeX instead of including in the PostScript code. Thus, many options are the same as in the postscript terminal.
The appearance of the epslatex terminal changed between versions 4.0 and 4.2 to reach better consistency with the postscript terminal: The plot size has been changed from 5 x 3 inches to 5 x 3.5 inches; the character width is now estimated to be 60% of the font size while the old epslatex terminal used 50%; now, the larger number of postscript linetypes and symbols are used. To reach an appearance that is nearly identical to the old one specify the option oldstyle. (In fact some small di erences remain: the symbol sizes are slightly di erent, the tics are half as large as in the old terminal which can be changed using set tics scale, and the arrows have all features as in the postscript terminal.)
If you see the error message
"Can't find PostScript prologue file ... "
Please see and follow the instructions in postscript prologue (p. 213).
The option color enables color, while monochrome prefers black and white drawing elements. Further, monochrome uses gray palette but it does not change color of objects speci ed with an explicit colorspec. solid draws all plots with solid lines, overriding any dashed patterns. dashlength or dl scales the length of the dashed-line segments by <DL>, which is a oating-point number greater than zero. linewidth or lw scales all linewidths by <LW>.
By default the generated PostScript code uses language features that were introduced in PostScript Level 2, notably lters and patternll of irregular objects such as lledcurves. PostScript Level 2 features are conditionally protected so that PostScript Level 1 interpreters do not issue errors but, rather, display a message or a PostScript Level 1 approximation. The level1 option substitutes PostScript Level 1 approximations of these features and uses no PostScript Level 2 code. This may be required by some old printers and old versions of Adobe Illustrator. The ag level1 can be toggled later by editing a single line in the PostScript output le to force PostScript Level 1 interpretation. In the case of les containing level 2 code, the above features will not appear or will be replaced by a note when this ag is set or when the interpreting program does not indicate that it understands level 2 PostScript or higher.
rounded sets line caps and line joins to be rounded; butt is the default, butt caps and mitered joins.
clip tells PostScript to clip all output to the bounding box; noclip is the default.
palfuncparam controls how set palette functions are encoded as gradients in the output. Analytic color component functions (set via set palette functions) are encoded as linear interpolated gradients in the postscript output: The color component functions are sampled at <samples> points and all points are removed from this gradient which can be removed without changing the resulting colors by more than <maxdeviation>. For almost every useful palette you may safely leave the defaults of <samples>=2000 and <maxdeviation>=0.003 untouched.
The default size for postscript output is 10 inches x 7 inches. The default for eps output is 5 x 3.5 inches. The size option changes this to whatever the user requests. By default the X and Y sizes are taken to be in inches, but other units are possibly (currently only cm). The BoundingBox of the plot is correctly adjusted to contain the resized image. Screen coordinates always run from 0.0 to 1.0 along the full length of the plot edges as speci ed by the size option. NB: this is a change from the previously recommended method of using the set size command prior to setting the terminal type. The old method left the BoundingBox unchanged and screen coordinates did not correspond to the actual limits of the plot.
blacktext forces all text to be written in black even in color mode;
gnuplot 4.6 |
189 |
The epslatex driver o ers a special way of controlling text positioning: (a) If any text string begins with 'f', you also need to include a 'g' at the end of the text, and the whole text will be centered both horizontally and vertically by LaTeX. (b) If the text string begins with '[', you need to continue it with: a position speci cation (up to two out of t,b,l,r,c), ']f', the text itself, and nally, 'g'. The text itself may be anything LaTeX can typeset as an LR-box. nrulefgfg's may help for best positioning. See also the documentation for the pslatex (p. 214) terminal driver. To create multiline labels, use nshortstack, for example
set ylabel '[r]{\shortstack{first line \\ second line}}'
The back option of set label commands is handled slightly di erent than in other terminals. Labels using 'back' are printed behind all other elements of the plot while labels using 'front' are printed above everything else.
The driver produces two di erent les, one for the eps part of the gure and one for the LaTeX part. The name of the LaTeX le is taken from the set output command. The name of the eps le is derived by replacing the le extension (normally .tex) with .eps instead. There is no LaTeX output if no output le is given! Remember to close the output le before next plot unless in multiplot mode.
In your LaTeX documents use 'ninputf lenameg' to include the gure. The .eps le is included by the command nincludegraphicsf...g, so you must also include nusepackagefgraphicxg in the LaTeX preamble. If you want to use coloured text (option textcolour) you also have to include nusepackagefcolorg in the LaTeX preamble.
Pdf les can be made from the eps le using 'epstopdf'. If the graphics package is properly con gured, the LaTeX les can also be processed by pd atex without changes, using the pdf les instead of the eps les. The behaviour concerning font selection depends on the header mode. In all cases, the given font size is used for the calculation of proper spacing. When not using the standalone mode the actual LaTeX font and font size at the point of inclusion is taken, so use LaTeX commands for changing fonts. If you use e.g. 12pt as font size for your LaTeX document, use '"" 12' as options. The font name is ignored. If using standalone the given font and font size are used, see below for a detailed description.
If text is printed coloured is controlled by the TeX booleans nifGPcolor and nifGPblacktext. Only if nifGPcolor is true and nifGPblacktext is false, text is printed coloured. You may either change them in the generated TeX le or provide them globally in your TeX le, for example by using
\newif\ifGPblacktext
\GPblacktexttrue
in the preamble of your document. The local assignment is only done if no global value is given.
When using the epslatex terminal give the name of the TeX le in the set output command including thele extension (normally ".tex"). The eps lename is generated by replacing the extension by ".eps".
If using the standalone mode a complete LaTeX header is added to the LaTeX le; and "-inc" is added to the lename of the eps le. The standalone mode generates a TeX le that produces output with the correct size when using dvips, pdfTeX, or VTeX. The default, input, generates a le that has to be included into a LaTeX document using the ninput command.
If a font other than "" or "default" is given it is interpreted as LaTeX font name. It contains up to three parts, separated by a comma: 'fontname,fontseries,fontshape'. If the default fontshape or fontseries are requested, they can be omitted. Thus, the real syntax for the fontname is '[fontname][,fontseries][,fontshape]'. The naming convention for all parts is given by the LaTeX font scheme. The fontname is 3 to 4 characters long and is built as follows: One character for the font vendor, two characters for the name of the font, and optionally one additional character for special fonts, e.g., 'j' for fonts with old-style numerals or 'x' for expert fonts. The names of many fonts is described in
http://www.tug.org/fontname/fontname.pdf
For example, 'cmr' stands for Computer Modern Roman, 'ptm' for Times-Roman, and 'phv' for Helvetica. The font series denotes the thickness of the glyphs, in most cases 'm' for normal ("medium") and 'bx' or 'b' for bold fonts. The font shape is 'n' for upright, 'it' for italics, 'sl' for slanted, or 'sc' for small caps, in general. Some fonts may provide di erent font series or shapes.
Examples:
Use Times-Roman boldface (with the same shape as in the surrounding text): set terminal epslatex 'ptm,bx'

190 |
gnuplot 4.6 |
Use Helvetica, boldface, italics:
set terminal epslatex 'phv,bx,it'
Continue to use the surrounding font in slanted shape:
set terminal epslatex ',,sl'
Use small capitals:
set terminal epslatex ',,sc'
By this method, only text fonts are changed. If you also want to change the math fonts you have to use the "gnuplot.cfg" le or the header option, described below.
In standalone mode, the font size is taken from the given font size in the set terminal command. To be able to use a speci ed font size, a le "size<size>.clo" has to reside in the LaTeX search path. By default, 10pt, 11pt, and 12pt are supported. If the package "extsizes" is installed, 8pt, 9pt, 14pt, 17pt, and 20pt are added.
The header option takes a string as argument. This string is written into the generated LaTeX le. If using the standalone mode, it is written into the preamble, directly before the nbeginfdocumentg command. In the input mode, it is placed directly after the nbegingroup command to ensure that all settings are local to the plot.
Examples:
Use T1 fontencoding, change the text and math font to Times-Roman as well as the sans-serif font to Helvetica:
set terminal epslatex standalone header \ "\\usepackage[T1]{fontenc}\n\\usepackage{mathptmx}\n\\usepackage{helvet}"
Use a boldface font in the plot, not in uencing the text outside the plot:
set terminal epslatex input header "\\bfseries"
If the le "gnuplot.cfg" is found by LaTeX it is input in the preamble the LaTeX document, when using standalone mode. It can be used for further settings, e.g., changing the document font to Times-Roman, Helvetica, and Courier, including math fonts (handled by "mathptmx.sty"):
\usepackage{mathptmx}
\usepackage[scaled=0.92]{helvet}
\usepackage{courier}
The le "gnuplot.cfg" is loaded before the header information given by the header command. Thus, you can use header to overwrite some of settings performed using "gnuplot.cfg"
Epson 180dpi
This driver supports a family of Epson printers and derivatives.
epson 180dpi and epson 60dpi are drivers for Epson LQ-style 24-pin printers with resolutions of 180 and 60 dots per inch, respectively.
epson lx800 is a generic 9-pin driver appropriate for printers like the Epson LX-800, the Star NL-10 and NX-1000, the PROPRINTER, and so forth.
nec cp6 is generic 24-pin driver that can be used for printers like the NEC CP6 and the Epson LQ-800.
The okidata driver supports the 9-pin OKIDATA 320/321 Standard printers.
The starc driver is for the Star Color Printer.
The tandy 60dpi driver is for the Tandy DMP-130 series of 9-pin, 60-dpi printers.
The dpu414 driver is for the Seiko DPU-414 thermal printer.
nec cp6 has the options:
Syntax: