tutogit/tutogit.py

20 lines
294 B
Python
Raw Permalink Normal View History

2021-03-22 08:59:52 +00:00
# -*- 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')
2021-03-31 12:29:44 +00:00
plt.scatter(xn,np.cos(2.*np.pi*xn/N),c='b',s=2,marker='s')
2021-03-22 08:59:52 +00:00
plt.savefig('tutogit.pdf')
plt.show()