set axis <axis> [ ( visible | invisible ) ] [ ( top | bottom | left | right | front | back ) ] [ ( atzero | notatzero ) ] [ ( automirrored | mirrored | fullmirrored ) ] [ ( noarrow | arrow | reversearrow | twowayarrow ) ] [ linked [ item <number> ] <axis> [ using <expression> ] ]
The set axis command is used to add additional axes to plots and to configure their appearance. Where an axis is stated on its own, as in the example
set axis x2
additional horizontal or vertical axes are added with default settings. The converse statements
set noaxis x2 unset axis x2
are used, respectively, to remove axes from plots and to return them to their default configurations, which often has the same effect of removing them from the graph, unless they are configured otherwise in a configuration file.
The position of any axis can be explicitly set using syntax of the form:
set axis x top set axis y right set axis z back
Horizontal axes can be set to appear either at the top or bottom; vertical axes can be set to appear either at the left or right; and z