16 lines
238 B
Python
16 lines
238 B
Python
|
import matplotlib.pyplot as plt
|
||
|
|
||
|
# Create some sample data
|
||
|
x = [1, 2, 3, 4, 5]
|
||
|
y = [2, 4, 6, 8, 10]
|
||
|
|
||
|
# Plot the data as points
|
||
|
plt.scatter(x, y)
|
||
|
|
||
|
# Add labels to the axes
|
||
|
plt.xlabel('Time')
|
||
|
plt.ylabel('Value')
|
||
|
|
||
|
# Show the plot
|
||
|
plt.show()
|