File:Kelvinker,n=0plot.png

From specialfunctionswiki
Revision as of 20:35, 9 July 2016 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 rcParams['figure.figsize'] = 10, 10 x=np.arange(0,8,0.01); f=np.vectorize(lambda x: ker(0,x)) y=f(x) def g(x):...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Original file(868 × 885 pixels, file size: 24 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,8,0.01);
f=np.vectorize(lambda x: ker(0,x))
y=f(x)

def g(x):
        return 0
h=np.vectorize(g)
y2=h(x)

fig, ax = plt.subplots()

plt.xlabel(r'$x$')
plt.ylabel(r'$\mathrm{ker}_0(x)$')

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

plt.ylim(-0.1,2.5)
plt.xlim(0,8)

plt.savefig('kelvinker,n=0plot.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
current20:35, 9 July 2016Thumbnail for version as of 20:35, 9 July 2016868 × 885 (24 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,8,0.01); f=np.vectorize(lambda x: ker(0,x)) y=f(x) def g(x):...
  • You cannot overwrite this file.

The following page links to this file:

Metadata