Share scaling of differntly sized subplots' axes (not sharing axes)
问题 With matplotlib, I want to plot two graphs with the same x-axis scale, but I want to show different sized sections. How can I accomplish that? So far I can plot differently sized subplots with GridSpec or same sized ones who share the x-axis. When I try both at once, the smaller subplot has the same axis but smaller scaled, while I want the same scaling and a different axis, so sharing the axis might be a wrong idea. import numpy as np import matplotlib.pyplot as plt from matplotlib.gridspec