import numpy as np
import matplotlib.pyplot as plt
plt.figure(figsize=[15,8])
X= np.linspace(-2*np.pi,2*np.pi)
Y= np.sin(X)
plt.scatter(X, Y, label = 'RealValue')
#plt.plot(X, func(X, a, b), 'red', label = 'CurveLine')
plt.title("station", fontdict={'family' : 'Times New Roman', 'size' : 16})
plt.ylabel('Clocks($\mu S$)', fontdict={'family' : 'Times New Roman', 'size' : 16})
plt.xlabel('Time', fontdict={'family' : 'Times New Roman', 'size' : 16})
plt.yticks(fontproperties = 'Times New Roman', size = 14)
plt.xticks(fontproperties = 'Times New Roman', size = 14)
plt.legend(prop={'family' : 'Times New Roman', 'size' : 16})
#plt.savefig('./stationClocks/' + station + '.ps', dpi = 200)
plt.show()
记录一下,我后面得自己改到scanpy上面去