File:Darbouxglyph.png
From specialfunctionswiki
Revision as of 21:09, 5 July 2016 by Tom (talk | contribs) (Tom uploaded a new version of "File:Darbouxglyph.png")
Darbouxglyph.png (186 × 192 pixels, file size: 7 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 def darboux(x): return nsum(lambda k: sin(fac(k+1)*x)/fac(k),[1,inf]) x=np.arange(0,5,0.1) f=np.vectorize(darboux) y=f(x) def g(x): return 0 h=np.vectorize(g) y2=h(x) fig, ax = plt.subplots() 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.plot(x,y,linewidth=5,color='Black') plt.plot(x,y2,linewidth=1,color='Black') plt.plot(y2,x,linewidth=1,color='Black') plt.xlim(-0.05,5) plt.ylim(-1.5,1.5) plt.savefig('darbouxglyph.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 | 21:09, 5 July 2016 | 186 × 192 (7 KB) | Tom (talk | contribs) | Category:darbouxglyph <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 def distfnc(x): return min(x-floor(x),ceil(x)-x) def fabe... | |
20:42, 5 July 2016 | 186 × 192 (7 KB) | Tom (talk | contribs) | Category:darbouxglyph <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 def darboux(x): return nsum(lambda k: sin(fac(k+1)*x)/fac(... | ||
20:40, 5 July 2016 | 186 × 192 (7 KB) | Tom (talk | contribs) | Category:darbouxplot <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 def darboux(x): return nsum(lambda k: sin(fac(k+1)*x)/fac(k... | ||
20:39, 5 July 2016 | 186 × 192 (7 KB) | Tom (talk | contribs) | Category:darbouxglyph <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 def darboux(x): return nsum(lambda k: sin(fac(k+1)*x)/fac(... |
- You cannot overwrite this file.
File usage
There are no pages that link to this file.