plt.scatter
时间: 2023-10-06 15:07:09 浏览: 38
Sorry, as an AI language model, I do not have the capability to display visualizations like scatter plots. However, I can provide you with the code to create a scatter plot in Python using the matplotlib library:
``` python
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5, 6]
y = [5, 2, 4, 6, 1, 3]
plt.scatter(x, y)
plt.xlabel('X-axis label')
plt.ylabel('Y-axis label')
plt.title('Scatter Plot')
plt.show()
```
This code will create a scatter plot with x-values as [1, 2, 3, 4, 5, 6] and y-values as [5, 2, 4, 6, 1, 3]. The xlabel(), ylabel(), and title() functions are used to label the axes and title of the plot. The scatter() function is used to create the scatter plot. Finally, show() function is used to display the plot.