import matplotlib.pyplot as plt

x_values = list(range(1,1001))       #1000 points
y_values = [x**2 for x in x_values]

plt.scatter(x_values,y_values,c=y_values,cmap=plt.cm.Blues,edgecolor='none',s=40)
#colormap reflect the values of y

plt.axis([0,1100,0,1100000])        #the range of x ,Y

plt.savefig('aaaa.png', bbox_inches='tight')   #save and set file name,blank zone
plt.show()   
