File:Besseli,n=0plot.png

From specialfunctionswiki
Jump to: navigation, search
Original file(858 × 876 pixels, file size: 32 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(-5,5,0.01);
f=np.vectorize(lambda x: besseli(0,x))

y=f(x)

fig, ax = plt.subplots()

plt.xlabel(r'$x$')
plt.ylabel('$I_0(x)$')

plt.plot(x,y,linewidth=2,color='Black',label=r'$K_0(x)$')

plt.xlim(-5.1,5.1)
plt.ylim(0,28)

plt.savefig('besseli,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
current23:51, 10 June 2016Thumbnail for version as of 23:51, 10 June 2016858 × 876 (32 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(-5,5,0.01); f=np.vectorize(lambda x: besseli(0,x)) y=f(x) fig...
  • You cannot overwrite this file.

The following page links to this file:

Metadata