In [1]:
%pylab notebook
import matplotlib.pyplot as plt
import numpy as np


Populating the interactive namespace from numpy and matplotlib
/Users/brodzik/.conda/envs/pmesdr/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')

In [2]:
np.math.log(611)


Out[2]:
6.415096959171596

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]:
[<matplotlib.lines.Line2D at 0x10f7079d0>]

In [ ]: