答案 0 :(得分:1)
简短的回答是,此时你不能......除非你制作一个包含3个子图的数字。
也许这样:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
f, (ax1, ax2, ax3) = plt.subplots(1,3, figsize=(20,5))
x = np.linspace(1.0,13.0,10)
y = np.sin(x)
ax1.plot(x,y)
x = np.linspace(1.0,13.0,20)
y = np.sin(x)
ax2.plot(x,y)
x = np.linspace(1.0,13.0,30)
y = np.sin(x)
ax3.plot(x,y)
plt.show()