In [1]:
%pylab notebook
import matplotlib.pyplot as plt
import numpy as np
In [2]:
np.math.log(611)
Out[2]:
In [17]:
x = np.array(np.arange(11)+1)
In [18]:
y = [np.math.log(xi) for xi in x]
#y2 = [np.math.log(xi) for xi in x]
In [19]:
fig, ax = plt.subplots(1)
plt.plot(x, y)
Out[19]:
In [ ]: