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 105<br />

Bit 2 for the diagonals that split each cell of the original grid into two triangles. The default pattern is<br />

3, making all horizontal and vertical lines visible, but not the diagonals. You may want to choose 7 to<br />

see those diagonals as well.<br />

The undefined option lets you decide what the algorithm is to do with data points that are<br />

undefined (missing data, or undefined function values), or exceed the given x-, y- or z-ranges. Such points<br />

can either be plotted nevertheless, or taken out of the input data set. All surface elements touching a<br />

point that is taken out will be taken out as well, thus creating a hole in the surface. If = 3,<br />

equivalent to option noundefined, no points will be thrown away at all. This may produce all kinds of<br />

problems elsewhere, so you should avoid this. = 2 will throw away undefined points, but keep<br />

the out-of-range ones. = 1, the default, will get rid of out-of-range points as well.<br />

By specifying noaltdiagonal, you can override the default handling of a special case can occur if<br />

undefined is active (i.e. is not 3). Each cell of the grid-structured input surface will be divided<br />

in two triangles along one of its diagonals. Normally, all these diagonals have the same orientation relative<br />

to the grid. If exactly one of the four cell corners is excluded by the undefined handler, and this is<br />

on the usual diagonal, both triangles will be excluded. However if the default setting of altdiagonal<br />

is active, the other diagonal will be chosen for this cell instead, minimizing the size of the hole in the<br />

surface.<br />

The bentover option controls what happens to another special case, this time in conjunction with the<br />

trianglepattern. For rather crumply surfaces, it can happen that the two triangles a surface cell is<br />

divided into are seen from opposite sides (i.e. the original quadrangle is ’bent over’), as illustrated in<br />

the following ASCII art:<br />

C----B<br />

original quadrangle: A--B displayed quadrangle: |\ |<br />

("set view 0,0") | /| ("set view 75,75" perhaps) | \ |<br />

|/ | | \ |<br />

C--D | \|<br />

A D<br />

If the diagonal edges of the surface cells aren’t generally made visible by bit 2 of the there,<br />

the edge CB above wouldn’t be drawn at all, normally, making the resulting display hard to understand.<br />

Therefore, the default option of bentover will turn it visible in this case. If you don’t want that, you<br />

may choose nobentover instead. See also<br />

and<br />

hidden line removal demo (hidden.dem)<br />

complex hidden line demo (singulr.dem).<br />

70.26 Historysize<br />

Note: the command set historysize is only available when <strong>gnuplot</strong> has been configured with the GNU<br />

readline.<br />

Syntax:<br />

set historysize <br />

unset historysize<br />

When leaving <strong>gnuplot</strong>, the value of historysize is used for truncating the history to at most that much<br />

lines. The default is 500. unset historysize will disable history truncation and thus allow an infinite<br />

number of lines to be written to the history file.<br />

70.27 Isosamples<br />

The isoline density (grid) for plotting functions as surfaces may be changed by the set isosamples<br />

command.<br />

Syntax:

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

Saved successfully!

Ooh no, something went wrong!