|
# -*- 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')
|
|
plt.scatter(xn,np.cos(2.*np.pi*xn/N),c='b',s=2,marker='s')
|
|
|
|
|
|
|
|
plt.savefig('tutogit.pdf')
|
|
|
|
plt.show()
|
|
|
|
|