19 lines
235 B
Python
19 lines
235 B
Python
|
# -*- 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.savefig('tutogit.pdf')
|
||
|
|
||
|
plt.show()
|
||
|
|
||
|
|