Matplotlib: align origin of right axis with specific left axis value
问题 When plotting several y axis in Matplotlib, is there a way to specify how to align the origin (and/or some ytick labels) of the right axis with a specific value of the left axis? Here is my problem: I would like to plot two set of data as well as their difference (basically, I am trying to reproduce this kind of graph). I can reproduce it, but I have to manually adjust the ylim of the right axis so that the origin is aligned with the value I want from the left axis. I putted below an example