File:Integerhk,k=4,s=0plot.png

From timescalewiki
Jump to: navigation, search
Original file(868 × 900 pixels, file size: 22 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'] = 10, 10

def integerhk(k,t,s):
        return binomial(t-s,k)
x=np.arange(-3,8,1)
f=np.vectorize(lambda x: integerhk(4,x,0))
y=f(x)

fig, ax = plt.subplots()

plt.xlabel(r'$t$')
plt.ylabel(r'$h_4(t,0;\mathbb{Z})=\binom{t}{4}$')
plt.title(r'Time scale $h_k$ monomial function')

plt.scatter(x,y,color='Black',s=40)

plt.savefig('integerhk,k=4,s=0plot.png',bbox_inches='tight',pad_inches=0.15)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:55, 1 June 2016Thumbnail for version as of 19:55, 1 June 2016868 × 900 (22 KB)Tom (talk | contribs)Category:plot Category:deltahk Category:timescale:integers Category:specialfunction <pre>#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * from pylab import rcParams rcParams['figure.figsize'] = 1...
  • You cannot overwrite this file.

The following page links to this file:

Metadata