随笔分类 - 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
阅读全文
摘要:import matplotlib.pyplot as plt plt.style.use('seaborn-whitegrid') plt.rcParams['font.sans-serif']=['SimHei'] plt.rcParams['axes.unicode_minus'] = Fal
阅读全文
摘要:import matplotlib.pyplot as plt import numpy as np import pandas as pd plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.unico
阅读全文
摘要: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'] #
阅读全文
摘要:画曲线 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
阅读全文
摘要:matlabplot学习笔记 点击加载详解 https://www.matplotlib.org.cn/tutorials/#%E5%BA%8F%E8%A8%80 点击加载 https://www.matplotlib.org.cn/contents/
阅读全文