Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
457 B
0
Indexable
Never
import matplotlib.pyplot as plt

# Data
shear_rate = [1021.2, 510.6, 340.4, 170.2, 10.2, 5.1]
shear_stress = [8519.3, 4266.0, 2848.2, 1430.4, 97.7, 55.2]

# Create a scatter plot
plt.scatter(shear_rate, shear_stress, label='Data Points')

# Add labels and title
plt.xlabel('Shear Rate (sec^-1)')
plt.ylabel('Shear Stress (lb/100ft^2)')
plt.title('Shear Rate vs. Shear Stress')

# Display the graph
plt.grid(True)
plt.legend()
plt.show()