Untitled
unknown
plain_text
a year ago
716 B
5
Indexable
import matplotlib.pyplot as plt # Data temperature = [5, 10, 15, 20, 25, 30, 35] light_rates = [0.5, 1.0, 0.8, 1.5, 1.2, 0.4, 1.8] medium_rates = [1.5, 2.0, 1.7, 2.5, 2.2, 1.0, 2.7] high_rates = [3.0, 4.0, 2.5, 3.8, 3.5, 1.8, 4.2] # Plotting plt.figure(figsize=(10, 6)) plt.plot(temperature, light_rates, marker='o', label='Light Rate') plt.plot(temperature, medium_rates, marker='o', label='Medium Rate') plt.plot(temperature, high_rates, marker='o', label='High Rate') # Adding labels and title plt.xlabel('Temperature (°C)') plt.ylabel('Redox Reaction Rate (mm)') plt.title('Effect of Temperature on Redox Reaction Rates in Yeast') # Adding legend plt.legend() # Display the graph plt.grid(True) plt.show()
Editor is loading...
Leave a Comment