File:Bessely,n=0plot.png

From specialfunctionswiki
Jump to: navigation, search
Original file(887 × 885 pixels, file size: 42 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,20,0.001);
f=np.vectorize(lambda x: bessely(0,x))
y=f(x)

x2=np.arange(-5,5,0.1);
def g(x):
        return 0
h=np.vectorize(g)
y2=h(x2)

fig, ax = plt.subplots()

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

plt.ylim(-1,0.6)
plt.xlim(-5,20)

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

plt.savefig('bessely,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:44, 9 June 2016Thumbnail for version as of 20:44, 9 June 2016887 × 885 (42 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,20,0.001); f=np.vectorize(lambda x: bessely(0,x)) y=f(x)...
  • You cannot overwrite this file.

The following page links to this file:

Metadata