你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Better handling of when s21 is None.
这个提交包含在:
@@ -309,7 +309,7 @@ def mpl_plot(time, freqs, Vinc, Vincp, Iinc, Iincp, Vref, Vrefp, Iref, Irefp, Vt
|
|||||||
ax.grid()
|
ax.grid()
|
||||||
|
|
||||||
# Plot frequency spectra of s21
|
# Plot frequency spectra of s21
|
||||||
if 's21' in locals() or globals():
|
if s21 is not None:
|
||||||
ax = plt.subplot(gs2[0, 1])
|
ax = plt.subplot(gs2[0, 1])
|
||||||
markerline, stemlines, baseline = ax.stem(freqs[pltrange], s21[pltrange], '-.')
|
markerline, stemlines, baseline = ax.stem(freqs[pltrange], s21[pltrange], '-.')
|
||||||
plt.setp(baseline, 'linewidth', 0)
|
plt.setp(baseline, 'linewidth', 0)
|
||||||
|
在新工单中引用
屏蔽一个用户