import matplotlib.pyplot as plt
# Solve the problem that Chinese cannot be displayed
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.rcParams['axes.unicode_minus'] = False
plt.title(" Two dimensional scatter plot ", fontsize=24)
plt.xlim(xmax=9,xmin=0)
plt.ylim(ymax=9,ymin=0)
# The coordinates of the points are [0, 0], [3, 8], [1, 1], [2, 2], [5, 3], [4, 8], [6, 3], [5, 4], [6, 4], [7, 5]
plt.plot([0,3,1,2,5,4,6,5,6,7],[0,8,1,2,3,8,3,4,4,5],'ro')
plt.savefig('testblueline.jpg')