Files
hpos-data/scripts/plot_led_adc.py
Pritimay Sarkar 6f4ba44e48 chnage pref name
2024-01-16 15:29:30 +05:30

21 lines
409 B
Python

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()