File:Loggammaplot.png
From specialfunctionswiki
Size of this preview: 585 × 599 pixels. Other resolutions: 234 × 240 pixels | 863 × 884 pixels.
Original file (863 × 884 pixels, file size: 33 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(0.01,5,0.01); x2=np.arange(-1,5,0.1); f=np.vectorize(loggamma) y=f(x) def g(x): return 0 h=np.vectorize(g) y2=h(x2) fig, ax = plt.subplots() plt.xlabel(r'$x$') plt.ylabel(r'$\log \Gamma(x)$') plt.plot(x,y,linewidth=2,color='Black') plt.plot(y2,x2,'--',linewidth=2,color='Black') plt.xlim([-0.1,5]) plt.savefig('loggammaplot.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 | 00:30, 24 May 2016 | 863 × 884 (33 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(0.01,5,0.01); x2=np.arange(-1,5,0.1); f=np.vectorize(loggamma)... |
- You cannot overwrite this file.
File usage
The following page links to this file: