File:Dawsondplusplot.png

From specialfunctionswiki
Revision as of 00:20, 29 October 2017 by 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 import scipy.special rcParams['figure.figsize'] = 10, 10 x=np.arange(-15,15,0.001); f=np.vectorize(lambda x: sc...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Original file(879 × 846 pixels, file size: 31 KB, MIME type: image/png)
#!/usr/bin/python
import numpy as np
import matplotlib.pyplot as plt
from mpmath import *
from pylab import rcParams
import scipy.special
rcParams['figure.figsize'] = 10, 10

x=np.arange(-15,15,0.001);
f=np.vectorize(lambda x: scipy.special.dawsn(x))
y=f(x)

fig, ax = plt.subplots()

plt.xlabel(r'$x$')
plt.ylabel(r'Dawson $D_+(x)$')

plt.xlim(-15,15)

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

plt.legend(loc='best')

plt.savefig('dawsondplusplot.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
current00:20, 29 October 2017Thumbnail for version as of 00:20, 29 October 2017879 × 846 (31 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 import scipy.special rcParams['figure.figsize'] = 10, 10 x=np.arange(-15,15,0.001); f=np.vectorize(lambda x: sc...
  • You cannot overwrite this file.

The following page links to this file:

Metadata