1.8.5 Configuring the Appearance of Axes

The set axis command also accepts the following keywords alongside the positional keywords listed above, which specify how the axis should appear:

The following simple examples demonstrate the use of some of these configuration options:

set axis x atzero twoway
set axis y atzero twoway
plot [-2:8][-10:10]

\includegraphics[width=8cm]{examples/eps/ex_axisatzero}

set axis x atzero arrow
set axis y atzero twoway
plot [0:10][-10:10]

\includegraphics[width=8cm]{examples/eps/ex_axisatzero2}

set axis x notatzero arrow nomirror
set axis y notatzero arrow nomirror
plot [0:10][0:20]

\includegraphics[width=8cm]{examples/eps/ex_axisatzero3}