5.2 Example 2: Stacking Many Plots Together - Multiplot

In this example, we use the multiplot environment to produce a gallery of several plots. The set origin command is used to position each one. We also make use of multiple $ y$-axes in the top-left plot: the functions $ \sin(x)$ and $ \sin^2(x)$ are plotting together, but on different $ y$ scales. The output is shown in figure 5.2.




PyXPlot Script:

examples/example2



Dominic Ford 2006-09-09