01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

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.

56 gnuplot 4.0 36 SET-SHOW<br />

36.5 Bmargin<br />

The command set bmargin sets the size of the bottom margin. Please see set margin (p. 77) for<br />

details.<br />

36.6 Border<br />

The set border and unset border commands control the display of the graph borders for the plot<br />

and splot commands. Note that the borders do not necessarily coincide with the axes; with plot they<br />

often do, but with splot they usually do not.<br />

Syntax:<br />

set border { { {linestyle | ls }<br />

| {linetype | lt }<br />

{linewidth | lw } } }<br />

unset border<br />

show border<br />

With a splot displayed in an arbitrary orientation, like set view 56,103, the four corners of the x-y<br />

plane can be referred to as "front", "back", "left" and "right". A similar set of four corners exist for<br />

the top surface, of course. Thus the border connecting, say, the back and right corners of the x-y plane<br />

is the "bottom right back" border, and the border connecting the top and bottom front corners is the<br />

"front vertical". (This nomenclature is defined solely to allow the reader to figure out the table that<br />

follows.)<br />

The borders are encoded in a 12-bit integer: the bottom four bits control the border for plot and the<br />

sides of the base for splot; the next four bits control the verticals in splot; the top four bits control the<br />

edges on top of the splot. In detail, should be the sum of the appropriate entries from the<br />

following table:<br />

Graph Border Encoding<br />

Bit plot splot<br />

1 bottom bottom left front<br />

2 left bottom left back<br />

4 top bottom right front<br />

8 right bottom right back<br />

16 no effect left vertical<br />

32 no effect back vertical<br />

64 no effect right vertical<br />

128 no effect front vertical<br />

256 no effect top left back<br />

512 no effect top right back<br />

1024 no effect top left front<br />

2048 no effect top right front<br />

Various bits or combinations of bits may be added together in the command.<br />

The default is 31, which is all four sides for plot, and base and z axis for splot.<br />

Using the optional , and specifiers, the way the border lines are<br />

drawn can be influenced (limited by what the current terminal driver supports).<br />

For plot, tics may be drawn on edges other than bottom and left by enabling the second axes – see set<br />

xtics (p. 149) for details.<br />

If a splot draws only on the base, as is the case with "unset surface; set contour base", then the<br />

verticals and the top are not drawn even if they are specified.<br />

The set grid options ’back’, ’front’ and ’layerdefault’ also control the order in which the border lines<br />

are drawn with respect to the output of the plotted data.<br />

Examples:

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

Saved successfully!

Ooh no, something went wrong!