摘要:
import matplotlib.pyplot as plt import numpy as np x = np.linspace(0,10,100) sin_y = np.sin(x) plt.plot(x,sin_y) cos_y = np.cos(x) plt.plot(x,cos_y) p 阅读全文
posted @ 2020-09-08 14:49
在学同学
阅读(158)
评论(0)
推荐(0)
摘要:
import matplotlib.pyplot as plt x = range(-100,100) y = [i**2 for i in x] plt.plot(x,y) plt.rcParams['font.sans-serif'] = ['SimHei'] plt.title("绘制多点双曲 阅读全文
posted @ 2020-09-08 14:48
在学同学
阅读(1973)
评论(0)
推荐(0)
摘要:
# coding=utf-8 import matplotlib.pyplot as plt plt.rcParams['font.family'] = ['sans-serif'] # 在我的 notebook 里,要设置下面两行才能显示中文 plt.rcParams['font.sans-ser 阅读全文
posted @ 2020-09-08 14:30
在学同学
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号