File:Arccschplot.png

From specialfunctionswiki
Jump to: navigation, search
Original file(866 × 876 pixels, file size: 29 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

x1=np.arange(-4,-0.0001,0.03);
x2=np.arange(0.001,4,0.03);
x3=np.arange(-5,8,0.1)
f=np.vectorize(acsch)
y1=f(x1)
y2=f(x2)

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

fig, ax = plt.subplots()

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

plt.plot(x1,y1,linewidth=2,color='Black')
plt.plot(x2,y2,linewidth=2,color='Black')
plt.plot(y3,x3,'--',linewidth=2,color='Black')
plt.plot(x3,y3,'--',linewidth=2,color='Black')

plt.xlim([-4,4])
plt.ylim([-4.6,7.7])
plt.savefig('arccschplot.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
current21:55, 24 May 2016Thumbnail for version as of 21:55, 24 May 2016866 × 876 (29 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 x1=np.arange(-4,-0.0001,0.03); x2=np.arange(0.001,4,0.03); x3=np.arange(-5,...
  • You cannot overwrite this file.

The following page links to this file:

Metadata