10.6 Linked axes and galleries of plots

In the previous chapter (Section 8.8.9), linked axes were introduced as a mechanism by which several axes on a single plot could be set to have the same range, or to be algebraically related to one another. Another common use for them is to make several plots on a multiplot canvas share common axes. Just as the following statement links two axes on a single plot to one another

set axis x2 linked x

axes on the current plot can be linked to those of previous plots which are already on the multiplot canvas using syntax of the form:

set axis x2 linked item 2 x

A common reason for doing this is to produce galleries of side-by-side plots. The following series of commands would produce a grid of plots, with axes only labelled along the bottom and left sides of the grid: