The set border and set noborder commands control the display of the plot
borders for the plot and splot commands. The borders are encoded in a
twelve-bit integer: the bottom 4 bits control the border for plot and the
sides of the base for splot. The next 4 bits control the verticals in
splot, while the top 4 bits control the edges on top of the splot. The
default is 31, which is all four sides for plot, and base and z axis for
splot.
Syntax:
set border (turns on all borders)
set border 3 (only SOUTHWEST borders)
set border 4095 (complete box around splot)
set border 127+256+512 (partial box omitting front vertical)
set noborder
show border
To have tics on edges other than bottom and left, disable the usual
tics and enable the second axes.
set border 12 (only NORTHEAST borders)
set noxtics; set noytics; set x2tics; set y2tics