随笔分类 -  matlibplot

摘要:err_inter = result.conf_int() #置信区间的中心 err_mean = (err_inter[1]+err_inter[0])/2 # 置信区间的长度 err_long = (err_inter[1]-err_inter[0])/2 #置信区间画图 import matp 阅读全文
posted @ 2022-07-03 09:25 kuanleung 阅读(25) 评论(0) 推荐(0) 编辑
摘要:import matplotlib.pyplot as plt plt.style.use('seaborn-whitegrid') plt.rcParams['font.sans-serif']=['SimHei'] plt.rcParams['axes.unicode_minus'] = Fal 阅读全文
posted @ 2022-07-03 09:23 kuanleung 阅读(18) 评论(0) 推荐(0) 编辑
摘要:import matplotlib.pyplot as plt import numpy as np import pandas as pd plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.unico 阅读全文
posted @ 2022-01-28 19:50 kuanleung 阅读(4) 评论(0) 推荐(0) 编辑
摘要:for i in list(set(data['Variable1'])): x_axis_data = [i for i in range(2004,2020)] y_axis_data = data.loc[np.where(data['Variable1'] == i),'theil'] # 阅读全文
posted @ 2021-03-20 22:15 kuanleung 阅读(3) 评论(0) 推荐(0) 编辑
摘要:画曲线 import matplotlib.pylab as pyl import numpy as np x = np.linspace(0.01, 3.5, 100, endpoint=True) y = 1/x x1=x y1 = 2/x x2=x y2 = 3/x fig = pyl.fig 阅读全文
posted @ 2020-10-26 14:32 kuanleung 阅读(7) 评论(0) 推荐(0) 编辑
摘要:matlabplot学习笔记 点击加载详解 https://www.matplotlib.org.cn/tutorials/#%E5%BA%8F%E8%A8%80 点击加载 https://www.matplotlib.org.cn/contents/ 阅读全文
posted @ 2020-09-15 18:28 kuanleung 阅读(2) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示