# -*- coding: utf-8 -*- #!/usr/bin/env python import numpy as np import matplotlib.pyplot as plt N = 32 xn = np.arange(N) plt.scatter(xn,np.sin(2.*np.pi*xn/N),c='g',s=2,marker='s') xn = np.arange(N*10) plt.plot(xn,np.sin(2.*np.pi*xn/N),'b') plt.xlim(0,32) plt.savefig('tutogit.pdf') plt.show()