Border

The set border and set noborder commands control the display of the graph borders for the plot and splot commands.

Syntax:

     set border {<integer>}
     set noborder
     show border

The borders are encoded in a 12-bit integer. The bottom four bits control the border for plot and the sides of the base for splot, the next four bits control the verticals in splot and the top four bits control the edges on top of the splot. In detail, the <integer> should be the sum of the appropriate entries from the following table:

Border Specification
  plot border  
  and  
  splot base splot verticals
bottom (south) 1 16
left (west) 2 32
top (north) 4 64
right (east) 8 128

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

To have tics on edges other than bottom and left, disable the usual tics and enable the second axes.

Examples:

Draw all borders:

     set border

Draw only the SOUTHWEST borders:

     set border 3

Draw a complete box around a splot:

     set border 4095

Draw a partial box, omitting the front vertical:

     set border 127+256+512

Draw only the NORTHEAST borders:

     set noxtics; set noytics; set x2tics; set y2tics; set border 12