import matplotlib.pyplot as plt xt,yt=1,2 plt.plot(xt,yt,'ro') plt.grid('on') plt.axis([0,2,1,3]) plt.show()