def plot_int_buf_delay():
fig = plt.figure(figsize=(7.5, 5.225))
gs = gridspec.GridSpec(2, 1, height_ratios=[1, 1])
ax0 = fig.add_subplot(gs[0])
plot_intercepting_path_delays(ax0, shared=False)
x_axis = list(range(1, 7))
labels = ['I (l)', 'III (l)', 'IV (l)', 'I (b)', 'III (b)', 'IV (b)']
plt.xticks(x_axis, labels)
plt.ylabel('Delay, s')
ax1 = fig.add_subplot(gs[1])
plot_intercepting_path_delays(ax1, shared=True)
labels = ['V (l)', 'VII (l)', 'VIII (l)', 'V (b)', 'VII(b)', 'VIII (b)']
plt.xticks(x_axis, labels)
plt.xlabel('Data sets')
plt.ylabel('Delay, s')
plt.show()
评论列表
文章目录