Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
599 B
1
Indexable
Never
import matplotlib.pyplot as plt

# Mock data for time (seconds) and vertical ground reaction forces (Newtons)
time = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
vgrf = [600, 650, 700, 720, 750, 780, 800, 780, 750, 700, 650]

# Plotting the data
plt.figure(figsize=(10, 6))
plt.plot(time, vgrf, marker='o', linestyle='-')
plt.title("Johan's Vertical Ground Reaction Forces During Running")
plt.xlabel("Time (seconds)")
plt.ylabel("Vertical Ground Reaction Force (Newtons)")
plt.grid(True)
plt.xticks(time)
plt.yticks(range(0, 1000, 100))
plt.tight_layout()

# Display the plot
plt.show()
Leave a Comment