chnage pref name
This commit is contained in:
20
scripts/plot_led_adc.py
Normal file
20
scripts/plot_led_adc.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import pandas as pd
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
df = pd.read_excel("data_dev7_6.xlsx", sheet_name="removed")
|
||||
|
||||
# print(df)
|
||||
|
||||
print(df.describe())
|
||||
|
||||
# Plot all lines on the same graph
|
||||
# df["led1Buffer"].plot(label="LED 1")
|
||||
# df["led2Buffer"].plot(label="LED 2")
|
||||
df["led3Buffer"].plot(label="LED 3")
|
||||
# df["led4Buffer"].plot(label="LED 4")
|
||||
|
||||
# Add legend to the plot
|
||||
plt.legend()
|
||||
|
||||
# Display the plot
|
||||
plt.show()
|
||||
Reference in New Issue
Block a user