In [14]:
"a b c".split(" ")
Out[14]:
['a', 'b', 'c']
In [31]:
from numpy import *
from matplotlib.pyplot import *

x = linspace(0, 2*pi)
plot(x, sin(x), label=r'$\sin(x)$')
plot(x, cos(x), 'ro', label=r'$\cos(x)$')
title(r'Sin and Cos')
legend()
show()