如何在 x 轴上绘制多个数据进度?
How to plot several data progeress on x axis?
我有不同位置随时间变化的数据,需要像这样绘制它:
Plot data for certain position
有人知道怎么做吗?
只是反转 x 和 y 数据?
data = np.random.uniform(-0.01, 0.01, (20, 3))
xc = [0.26625, 0.28375, 0.30125]
for i in range(3):
plt.plot(xc[i] + data[:, i], range(20))
我有不同位置随时间变化的数据,需要像这样绘制它:
Plot data for certain position
有人知道怎么做吗?
只是反转 x 和 y 数据?
data = np.random.uniform(-0.01, 0.01, (20, 3))
xc = [0.26625, 0.28375, 0.30125]
for i in range(3):
plt.plot(xc[i] + data[:, i], range(20))