import matplotlib.pyplot as plt
dados_citricus = np.loadtxt('citrus.csv', delimiter=',',skiprows=1,dtype=float, usecols=np.arange(1,6,1)) dados_citricus
d_laranja = dado[:5000,0] d_toranja = dado[5000:,0] p_laranja = dado[:5000,1] p_toranja = dado[5000:,1]
plt.plot(d_laranja, p_laranja,label='laranjas') plt.plot(d_toranja, p_toranja, label='toranjas') plt.legend() plt.title('Peso x Diâmetro') plt.show()