#!/usr/bin/env python # coding: utf-8 # In[1]: "a b c".split(" ") # In[2]: 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()