Parasite axis demo
This example demonstrates the use of parasite axis to plot multiple datasets onto one single plot.
Notice how in this example, par1 and par2 are both obtained by calling
twinx(), which ties their x-limits with the host's x-axis. From there, each
of those two axis behave separately from each other: different datasets can be
plotted, and the y-limits are adjusted separately.
This approach uses mpl_toolkits.axes_grid1.parasite_axes.host_subplot and
mpl_toolkits.axisartist.axislines.Axes.
The standard and recommended approach is to use instead standard Matplotlib axes, as shown in the Multiple y-axis with Spines example.
An alternative approach using and is shown in the example.
