File:Integerdeltacosh,a=0.6,s=0glyph.png

From timescalewiki
Jump to: navigation, search
Integerdeltacosh,a=0.6,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(-5,11,1)
def integerexp(a,t,s):
        return (1+a)**(t-s)
def integercosh(t): # a=0.6,s=0
        return (integerexp(0.6,t,0)+integerexp(-0.6,t,0))/2
def g(x):
        return integercosh(x)
f=np.vectorize(g)
y=f(x)

fig, ax = plt.subplots()
#plt.ylim([-1.1,1.1])
#plt.xlim([-1.05,1.05])
ax.spines['left'].set_position(('axes',0.38))
ax.spines['bottom'].set_position(('axes',0.13))
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=20)

plt.savefig('integerdeltacosh,a=0.6,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/TimeThumbnailDimensionsUserComment
current19:31, 1 June 2016Thumbnail for version as of 19:31, 1 June 2016186 × 192 (2 KB)Tom (talk | contribs)Category:deltacoshglyph Category:glyph Category:timescale:integers Category:deltacosh <pre>#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * from pylab import rcParams rcParams['figure.figsize'] =...
  • You cannot overwrite this file.

There are no pages that link to this file.

Metadata