File:Bessely,n=1glyph.png
From specialfunctionswiki
Bessely,n=1glyph.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 x=np.arange(0.1,25,0.01) x2=np.arange(-25,25,0.1) f=np.vectorize(lambda x: bessely(1,x)) y=f(x) def g(x): return 0 h=np.vectorize(g) y2=h(x2) fig, ax = plt.subplots() ax.spines['left'].set_position('center') ax.spines['right'].set_color('none') #ax.spines['bottom'].set_position('center') 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.plot(x,y,linewidth=5,color='Black') plt.plot(x2,y2,linewidth=1,color='Black') plt.plot(y2,x2,linewidth=1,color='Black') plt.ylim([-1,0.5]) plt.xlim([-0.3,25]) plt.savefig('bessely,n=1glyph.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:20, 10 June 2016 | 186 × 192 (7 KB) | Tom (talk | contribs) | Category:Besselyglyph <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 x=np.arange(0.1,25,0.01) x2=np.arange(-25,25,0.1) f=np.vectorize(... |
- You cannot overwrite this file.
File usage
There are no pages that link to this file.