File:Floorplot.png

From specialfunctionswiki
Jump to: navigation, search
Original file(865 × 885 pixels, file size: 16 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(-5,5,0.01);
f=np.vectorize(floor)
y=f(x)

fig, ax = plt.subplots()

plt.xlabel(r'$x$')
plt.ylabel(r'$\mathrm{floor}(x)=\lfloor x \rfloor$')

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

plt.savefig('floorplot.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
current19:44, 3 June 2016Thumbnail for version as of 19:44, 3 June 2016865 × 885 (16 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(-5,5,0.01); f=np.vectorize(floor) y=f(x) fig, ax = plt.subplot...
  • You cannot overwrite this file.

The following page links to this file:

Metadata