File:Integerdeltahk,k=3,s=0glyph.png
From timescalewiki
Integerdeltahk,k=3,s=0glyph.png (186 × 192 pixels, file size: 2 KB, MIME type: image/png)
#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * from pylab import rcParams rcParams['figure.figsize'] = 2.4,2.4 x=np.arange(-12,14,1) def integerhk(k,t,s): return binomial(t-s,k) f=np.vectorize(lambda x: integerhk(3,x,0)) y=f(x) fig, ax = plt.subplots() #plt.ylim([-1.1,1.1]) #plt.xlim([-1.05,1.05]) ax.spines['left'].set_position('center') ax.spines['bottom'].set_position('center') ax.spines['top'].set_color('none') ax.spines['left'].set_smart_bounds(True) ax.spines['bottom'].set_smart_bounds(True) ax.xaxis.set_ticks_position('none') plt.tick_params(axis='x', which='both', bottom='off', top='off', labelbottom='off') plt.tick_params(axis='y', which='both', left='off', right='off', labelleft='off') plt.scatter(x,y,color='Black',s=15) plt.savefig('integerdeltahk,k=3,s=0glyph.png',bbox_inches='tight',pad_inches=0.0)
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:59, 2 June 2016 | 186 × 192 (2 KB) | Tom (talk | contribs) | Category:deltahk Category:glyph Category:timescale:integers Category:deltahk <pre>#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * from pylab import rcParams rcParams['figure.figsize'] = 2.4,2.4... |
- You cannot overwrite this file.
File usage
There are no pages that link to this file.