In this example, we illustrate how to link the axes of plots on a multiplot, so that they share a common scale, and also demonstrate how to set the colours of datasets using the with colour plot modifier. In the top-right panel, we also make use of the multiplot environment to add a plot inset. Finally, we render this plot using the landscape terminal setting, showing how to fit more plot onto our sheet of paper. The output is shown in figure 5.5.
Notice how the linked axes autoscale intelligently. The right two plots both require larger vertical ranges than those plots to their lefts, to whose vertical axes they are linked. But once they are linked, the plots autoscale together, to ensure that they all have sufficient range for their data.
PyXPlot Script:
examples/example5