import matplotlib.pyplot as plt
# Sample Data (Days vs Frequency of Head Banging)
days = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] # Days of the observation period
frequency = [5, 3, 4, 6, 2, 3, 5, 7, 4, 6] # Frequency of head banging on each day
# Create a Line Graph
plt.plot(days, frequency, marker='o', color='b', linestyle='-', markersize=6)
# Add titles and labels
plt.title('Frequency of Self-Injurious Behavior (Head Banging)')
plt.xlabel('Days')
plt.ylabel('Frequency (Count per Day)')
# Display the graph
plt.grid(True)
plt.show()