14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

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.

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

they make with the arrow. is in x-axis units; this can be changed by first, second, graph,<br />

screen, or character before the ; see coordinates (p. 24) for details. only<br />

takes effect when filled or empty is also used. Then, is the angle (in degrees) the back<br />

branches make with the arrow (in the same direction as ). The fig terminal has a restricted<br />

backangle function. It supports three different angles. There are two thresholds: Below 70 degrees, the<br />

arrow head gets an indented back angle. Above 110 degrees, the arrow head has an acute back angle.<br />

Between these thresholds, the back line is straight.<br />

Specifying filled produces filled arrow heads (if heads are used). Filling is supported on filled-polygon<br />

capable terminals, see help of pm3d (p. 118) for their list, otherwise the arrow heads are closed but<br />

not filled. The same result (closed but not filled arrow head) is reached by specifying empty. Further,<br />

filling and outline is obviously not supported on terminals drawing arrows by their own specific routines,<br />

like metafont, metapost, latex or tgif.<br />

The line style may be selected from a user-defined list of line styles (see set style line (p. 133)) or may<br />

be defined here by providing values for (an index from the default list of styles) and/or<br />

(which is a multiplier for the default width).<br />

Note, however, that if a user-defined line style has been selected, its properties (type and width) cannot<br />

be altered merely by issuing another set style arrow command with the appropriate index and lt or<br />

lw.<br />

If front is given, the arrows are written on top of the graphed data. If back is given (the default), the<br />

arrow is written underneath the graphed data. Using front will prevent a arrow from being obscured<br />

by dense data.<br />

Examples:<br />

To draw an arrow without an arrow head and double width, use:<br />

set style arrow 1 nohead lw 2<br />

set arrow arrowstyle 1<br />

See also ‘set arrow‘ for further examples.<br />

70.59.2 Set style data<br />

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

Syntax:<br />

set style data <br />

show style data<br />

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

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

70.59.3 Set style fill<br />

The set style fill command is used to set the style of boxes, histograms, candlesticks and filledcurves.<br />

Syntax:<br />

set style fill {empty<br />

| {transparent} solid {}<br />

| {transparent} pattern {}}<br />

{border {} | noborder}<br />

The default fillstyle is empty.<br />

The solid option causes filling with a solid color, if the terminal supports that. The parameter<br />

specifies the intensity of the fill color. At a of 0.0, the box is empty, at of 1.0,<br />

the inner area is of the same color as the current linetype. Some terminal types can vary the density<br />

continuously; others implement only a few levels of partial fill. If no parameter is given, it<br />

defaults to 1.

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

Saved successfully!

Ooh no, something went wrong!