B.4 Plots with multiple axes

In gnuplot, a maximum of two horizontal and two vertical axes may be associated with each graph, placed in each case with one on either side of the plot. These are referred to as the x (bottom) and x2 (top), or y (left) and y2 (right) axes. This behaviour is reproduced in Pyxplot, and so the syntax

set x2label 'Axis label'

works similarly in both programs. However, in Pyxplot the position of each axis may be set individually using syntax such as

set axis x2 top

and furthermore up to 128 axes may be placed parallel to one another:

set axis x127 top
set x127label "This is axis number 127"

More details of how to configure axes can be found in Section 8.8.1.