File:Arccotangentglyph.png

From specialfunctionswiki
Jump to: navigation, search
Arccotangentglyph.png(186 × 192 pixels, file size: 4 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

x1=np.arange(-10,-0.000001,0.00001)
x2=np.arange(0.000001,10,0.00001)
f=np.vectorize(acot)
y1=f(x1)
y2=f(x2)

fig, ax = plt.subplots()
plt.ylim([-1.5,1.5])
ax.spines['left'].set_position('center')
ax.spines['right'].set_color('none')
ax.spines['bottom'].set_position('center')
ax.spines['top'].set_color('none')
ax.spines['left'].set_smart_bounds(True)
ax.spines['bottom'].set_smart_bounds(True)
ax.xaxis.set_ticks_position('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(x1,y1,linewidth=5,color='Black')
plt.plot(x2,y2,linewidth=5,color='Black')

plt.savefig('arccotangentglyph.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
current03:28, 26 February 2016Thumbnail for version as of 03:28, 26 February 2016186 × 192 (4 KB)Tom (talk | contribs)Category:Arccotangentglyph <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 x1=np.arange(-10,-0.000001,0.00001) x2=np.arange(0.000001,10,...
  • You cannot overwrite this file.

There are no pages that link to this file.

Metadata