qiyuan - 数据分析

import matplotlib.pyplot as plt
# PLOT y = 2*x**2+2*x+4
# 抛物线
# x = [1, 2, 4, 8, 16, 24, 36, 6]
# y = [1, 4, 16, 64, 256, 576, 1296, 36]

x = []
y = []
for i in range(-100, 100):
    x.append(i)
    y.append(i**3)

plt.plot(x, y)

plt.xlabel("qeo")
plt.ylabel("oep")

plt.show()
发布了390 篇原创文章 · 获赞 19 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/houlaos/article/details/104485055