Difference between revisions of "File:Eulerphiglyph.png"

From specialfunctionswiki
Jump to: navigation, search
(Category:eulerphiglyph <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(-1,1,0.01) f=np.vectorize(lambda x: qp(x)) y=f(x) x2...)
 
(Tom uploaded a new version of "File:Eulerphiglyph.png")
 
(No difference)

Latest revision as of 03:44, 22 June 2016

#!/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(-1,1,0.01)
f=np.vectorize(lambda x: qp(x))
y=f(x)

x2=np.arange(-10,10,0.1)
def g(x):
        return 0
h=np.vectorize(g)
y2=h(x2)

fig, ax = plt.subplots()
#plt.ylim([-1.1,1.1])
#plt.xlim([-1.05,1.05])
#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(x,y,linewidth=5,color='Black')
plt.plot(x2,y2,linewidth=1,color='Black')
plt.plot(y2,x2,linewidth=1,color='Black')

plt.xlim(-1,1)
plt.ylim(-0.03,1.3)

plt.savefig('eulerphiglyph.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:44, 22 June 2016Thumbnail for version as of 03:44, 22 June 2016186 × 192 (6 KB)Tom (talk | contribs)Category:eulerphiglyph <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(-1,1,0.01) f=np.vectorize(lambda x: qp(x)) y=f(x) x2...
03:42, 22 June 2016Thumbnail for version as of 03:42, 22 June 2016186 × 192 (6 KB)Tom (talk | contribs)Category:eulerphiglyph <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(-1,1,0.01) f=np.vectorize(lambda x: qp(x)) y=f(x) x2...
  • You cannot overwrite this file.

There are no pages that link to this file.

Metadata