plot_sayma_data: Normalize data for plotting

This commit is contained in:
Harry Ho 2021-04-12 14:53:19 +08:00
parent 64e85fc143
commit 276320d4c8

View File

@ -61,6 +61,9 @@ def main():
print(angle) print(angle)
# Normalize y1 and y2 for plotting
y1 /= abs(y1).max()
y2 /= abs(y2).max()
plot.plot(y1) plot.plot(y1)
plot.plot(y2) plot.plot(y2)
plot.show() plot.show()