In Chapter 4, Developing Visualizations for Publishing Quality, we learned how to plot two different scales on the left and right axes of a plot using twin axes methods. In Chapter 9, Developing Interactive Plots, we learned how to plot different units of measurements on multiple y axes, again using the twinx method for interactive analysis. In this recipe, we will learn how to plot multiple scales on various y axes using the main Matplotlib twinx method, as well as using the axisartist and axes_grid1 toolkits.
Plotting twin axes using the axisartist and axesgrid1 toolkits
Getting ready
We will first plot our graph using the Matplotlib twinx() method. Then, in the There's more... section of this recipe, we will plot...