File:Sincplot.png

From specialfunctionswiki
Revision as of 02:17, 16 September 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(-15,15,0.01); f=np.vectorize(lambda x: sinc(x)) y=f(x) fig, a...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Original file(886 × 885 pixels, file size: 41 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(-15,15,0.01);
f=np.vectorize(lambda x: sinc(x))
y=f(x)

fig, ax = plt.subplots()

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

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

plt.savefig('sincplot.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
current02:17, 16 September 2016Thumbnail for version as of 02:17, 16 September 2016886 × 885 (41 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(-15,15,0.01); f=np.vectorize(lambda x: sinc(x)) y=f(x) fig, a...
  • You cannot overwrite this file.

The following page links to this file:

Metadata