File:Arcsechplot.png

From specialfunctionswiki
Jump to: navigation, search
Original file(857 × 885 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

x=np.arange(0.0001,0.999,0.00001);
f=np.vectorize(asech)
y=f(x)
x2=np.arange(0,10,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'$\mathrm{arcsech}(x)$')

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

plt.xlim([-0.1,1.1])
plt.ylim([0,10])
plt.savefig('arcsechplot.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
current22:12, 24 May 2016Thumbnail for version as of 22:12, 24 May 2016857 × 885 (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 x=np.arange(0.0001,0.999,0.00001); f=np.vectorize(asech) y=f(x) x2=np.arang...
  • You cannot overwrite this file.

The following page links to this file:

Metadata