File:Dirichletetaplot.png
From specialfunctionswiki
Size of this preview: 590 × 599 pixels. Other resolutions: 236 × 240 pixels | 870 × 884 pixels.
Original file (870 × 884 pixels, file size: 29 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'] = 10, 10 x=np.arange(-10,10,0.01); f=np.vectorize(altzeta) y=f(x) def g(x): return 1 h=np.vectorize(g) y2=h(x) fig, ax = plt.subplots() ylabels=[item.get_text() for item in ax.get_xticklabels()] ylabels=[r'$-2$',r'$-1$',r'$0$',r'$1$',r'$2$',r'$3$',r'$4$',r'$5$',r'$6$',r'$7$',r'$8$',r'$9$',r'$10$'] ax.set_yticks([-2,-1,0,1,2,3,4,5,6,7,8,9,10]) ax.set_yticklabels(ylabels,verticalalignment='center') plt.xlabel(r'$x$') plt.ylabel(r'$\eta(x)$') plt.plot(x,y,linewidth=2,color='Black') plt.plot(x,y2,'--',linewidth=2,color='Black') plt.ylim(-2.01,10.01) plt.savefig('dirichletetaplot.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:29, 24 May 2016 | 870 × 884 (29 KB) | Tom (talk | contribs) | Category:Plot <pre>#!/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(-10,10,0.01); f=np.vectorize(altzeta) y=f(x) def g(x):... |
- You cannot overwrite this file.
File usage
The following page links to this file: