File:Erfinvplot.png

From specialfunctionswiki
Jump to: navigation, search
Original file(879 × 885 pixels, file size: 30 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(-1,1,0.01);
f=np.vectorize(erfinv)
y=f(x)

fig, ax = plt.subplots()

plt.xlim([-1.05,1.05])
xlabels = [item.get_text() for item in ax.get_xticklabels()]
xlabels=[r'$-1$',r'$0$',r'$1$']
ax.set_xticks([-1,0,1])
ax.set_xticklabels(xlabels,horizontalalignment='center')

plt.xlabel(r'$x$')
plt.ylabel(r'$\mathrm{erf}^{-1}(x)$')

plt.plot(x,y,linewidth=2,color='Black')

plt.savefig('erfinvplot.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/TimeThumbnailDimensionsUserComment
current22:26, 23 May 2016Thumbnail for version as of 22:26, 23 May 2016879 × 885 (30 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(-1,1,0.01); f=np.vectorize(erfinv) y=f(x) fig, ax = plt.subplo...
  • You cannot overwrite this file.

The following page links to this file:

Metadata