File:Barnesgglyph.png

From specialfunctionswiki
Jump to: navigation, search
Barnesgglyph.png(186 × 192 pixels, file size: 5 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'] = 2.4,2.4

x=np.arange(-4,3,0.1)
x2=np.arange(-0.5,2,1)
f=np.vectorize(barnesg)
y=f(x)

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

fig, ax = plt.subplots()
ax.spines['left'].set_color('none')
ax.spines['bottom'].set_color('none')
ax.spines['top'].set_color('none')
ax.spines['right'].set_color('none')
plt.tick_params(axis='x', which='both', bottom='off', top='off', labelbottom='off')
plt.tick_params(axis='y', which='both', left='off', right='off', labelleft='off')

plt.plot(x,y,linewidth=5,color='Black')
plt.plot(x,y2,linewidth=1,color='Black')
plt.plot(y3,x2,linewidth=1,color='Black')

plt.savefig('barnesgglyph.png',bbox_inches='tight',pad_inches=0.0)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:05, 3 June 2016Thumbnail for version as of 18:05, 3 June 2016186 × 192 (5 KB)Tom (talk | contribs)Category:barnesgglyph <pre>#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * from pylab import rcParams rcParams['figure.figsize'] = 2.4,2.4 x=np.arange(-4,3,0.1) x2=np.arange(-0.5,2,1) f=np.vectorize(barnes...
  • You cannot overwrite this file.

There are no pages that link to this file.

Metadata