SyntaxFix
Write A Post
Hire A Developer
Questions
Perhaps a more pythonic way of doing so.
from numpy import * import math import matplotlib.pyplot as plt t = linspace(0,2*math.pi,400) a = sin(t) b = cos(t) c = a + b plt.plot(t, a, t, b, t, c) plt.show()