Difference between revisions of "File:Integerdeltacosine,a=0.6,s=0plot.png"
From timescalewiki
(Category:plot Category:deltacosine 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']...) |
|||
(One intermediate revision by the same user not shown) | |||
Line 37: | Line 37: | ||
plt.xlim([-15,20]) | plt.xlim([-15,20]) | ||
− | plt.savefig(' | + | plt.savefig('integerdeltacosine,a=0.6,s=0plot.png',bbox_inches='tight',pad_inches=0.15)</pre> |
Latest revision as of 07:25, 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'] = 10, 10 x=np.arange(-15,20,1); def integerexp(a,t,s): return (1+a)**(t-s) def returnzero(t): return 0 def integercosine(t): # a=0.6,s=0 return (integerexp(0.6j,t,0)+integerexp(-0.6j,t,0))/2 f=np.vectorize(lambda x : integercosine(x).real) y=f(x) def g(x): return 0 h=np.vectorize(g) y2=h(x) fig, ax = plt.subplots() plt.xlabel(r'$t$') plt.ylabel(r'$\cos_{0.6}(t,0;\mathbb{Z})$') plt.title(r'Time scale delta cosine function') plt.scatter(x,y,color='Black',s=40) plt.plot(x,y2,'--',linewidth=2,color='Black') plt.xlim([-15,20]) plt.savefig('integerdeltacosine,a=0.6,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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 07:24, 1 June 2016 | 881 × 898 (24 KB) | Tom (talk | contribs) | Category:plot Category:deltacosine 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']... |
- You cannot overwrite this file.
File usage
The following 3 pages link to this file:
- Delta cosine
- File:Integercosine,a=0.6,s=0plot.png (file redirect)
- File:Integercosine,a=0.6,s=0plot.png (file redirect)