Version initiale

This commit is contained in:
renald 2021-03-22 09:59:52 +01:00
commit 32d689d834
1 changed files with 21 additions and 0 deletions

21
tutogit.py Normal file
View File

@ -0,0 +1,21 @@
# -*- 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()