Para fazer um gráfico basta abrir o spyder, e colar o seguinte código:
import matplotlib.pyplot as plt import numpy as np x = np.arange(0.,10.,0.1) y = np.sin(5*x)*np.exp(-x) #plt.style.use('ggplot') #plt.style.use('bmh') plt.style.use('fivethirtyeight') plt.plot(x,y)
Execute ("run").
Faça experimentos com o código.
No comments:
Post a Comment