上传者: 38703123
|
上传时间: 2021-12-08 16:52:57
|
文件大小: 63KB
|
文件类型: -
我就废话不多说了,直接上代码吧!
from time import sleep
from threading importThread
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.widgets importButton
fig, ax = plt.subplots()
#设置图形显示位置
plt.subplots_adjust(bottom=0.2)
#实验数据
range_start, range_end, range_step =0,1,0.005
t = np.arange(range_star