Difference between revisions of "File:Integerdeltasinhglyph,a=0.6,s=0glyph.png"
From timescalewiki
(Category:deltasineglyph Category:glyph Category:timescale:integers Category:deltasine <pre>#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * from pylab import rcParams rcParams['figure.figsize'] =...) |
|||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:deltasinhglyph]] |
[[Category:glyph]] | [[Category:glyph]] | ||
[[Category:timescale:integers]] | [[Category:timescale:integers]] | ||
− | [[Category: | + | [[Category:deltasinh]] |
<pre>#!/usr/bin/python | <pre>#!/usr/bin/python | ||
import numpy as np | import numpy as np |
Latest revision as of 19:40, 1 June 2016
#!/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 integersinh(t): # a=0.6,s=0 return (integerexp(0.6,t,0)-integerexp(-0.6,t,0))/2 def g(x): return integersinh(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.335)) ax.spines['bottom'].set_position(('axes',0.43)) 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('integerdeltasinhglyph,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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 19:39, 1 June 2016 | 186 × 192 (2 KB) | Tom (talk | contribs) | Category:deltasineglyph Category:glyph Category:timescale:integers Category:deltasine <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.
File usage
There are no pages that link to this file.