The set tics command can be used to change the tics to be drawn outwards.
Syntax:
set tics {<direction>} show tics
where <direction> may be in (the default) or out.
See also set xtics for more control of major (labelled) tic marks and set mxtics for control of minor tic marks.