14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

132 <strong>gnuplot</strong> 4.3 70 SET-SHOW<br />

The pattern option causes filling to be done with a fill pattern supplied by the terminal driver. The<br />

kind and number of available fill patterns depend on the terminal driver. If multiple datasets using filled<br />

boxes are plotted, the pattern cycles through all available pattern types, starting from pattern ,<br />

much as the line type cycles for multiple line plots.<br />

The empty option causes filled boxes not to be filled. This is the default. It is equivalent to the solid<br />

option with a parameter of zero.<br />

By default, border, the box is bounded by a solid line of the current linetype. border specifies<br />

that a border is to be drawn using linetype . noborder specifies that no bounding lines are drawn.<br />

70.59.3.1 Set style fill transparent Some terminals support the attribute transparent for filled<br />

areas. In the case of transparent solid fill areas, the density parameter is interpreted as an alpha value;<br />

that is, density 0 is fully transparent, density 1 is fully opaque. In the case of transparent pattern fill,<br />

the background of the pattern is either fully transparent or fully opaque.<br />

Terminal solid pattern pm3d<br />

gif no yes no<br />

jpeg yes no yes<br />

pdf yes yes yes<br />

png TrueColor index yes<br />

post no yes no<br />

svg yes no yes<br />

wxt yes yes yes<br />

x11 no yes no<br />

Note that there may be additional limitations on the creation or viewing of graphs containing transparent<br />

fill areas. For example, the png terminal can only use transparent fill if the "truecolor" option is set.<br />

Some pdf viewers may not correctly display the fill areas even if they are correctly described in the pdf<br />

file. Ghostscript/gv does not correctly display pattern-fill areas even though actual PostScript printers<br />

generally have no problem.<br />

70.59.4 Set style function<br />

The set style function command changes the default plotting style for function plots.<br />

Syntax:<br />

set style function <br />

show style function<br />

See plotting styles (p. 40) for the choices. If no choice is given, the choices are listed. show style<br />

function shows the current default function plotting style.<br />

70.59.5 Set style increment<br />

Syntax:<br />

set style increment {default|userstyles}<br />

show style increment<br />

By default, successive plots within the same graph will use successive linetypes from the default set for<br />

the current terminal type. However, choosing set style increment user allows you to step through<br />

the user-defined line styles rather than through the default linetypes.<br />

Example:<br />

set style line 1 lw 2 lc rgb "gold"<br />

set style line 2 lw 2 lc rgb "purple"<br />

set style line 4 lw 1 lc rgb "sea-green"<br />

set style increment user

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

Saved successfully!

Ooh no, something went wrong!