Untitled

 avatar
unknown
plain_text
5 months ago
678 B
3
Indexable
import matplotlib.pyplot as plt

# Data
weeks = [0, 4, 8, 12]
zone2_vo2max = [45, 47, 50, 52]
zone3_vo2max = [45, 48, 51, 53]

# Create the plot
plt.figure(figsize=(8,6))

# Plot the lines
plt.plot(weeks, zone2_vo2max, label="Zone 2", color='blue', marker='o', linestyle='-', linewidth=2)
plt.plot(weeks, zone3_vo2max, label="Zone 3", color='red', marker='o', linestyle='--', linewidth=2)

# Add titles and labels
plt.title("Comparison of VO2 Max Improvements in Zone 2 vs. Zone 3 Running Over 12 Weeks")
plt.xlabel("Time (Weeks)")
plt.ylabel("VO2 Max (mL/kg/min)")

# Add a legend
plt.legend()

# Show grid for better readability
plt.grid(True)

# Display the plot
plt.show()

Editor is loading...
Leave a Comment