¿Cómo trazar múltiples funciones en la misma figura, en Matplotlib?
¿Cómo puedo trazar las siguientes 3 funciones (es decir,sin
, cos
y la adición), en el dominiot
, en la misma figura?
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