当前位置:首页>python>期刊复现 | Python 实现多组线性回归拟合图(含误差棒、渐变色标与置信区间)

期刊复现 | Python 实现多组线性回归拟合图(含误差棒、渐变色标与置信区间)

  • 2026-06-27 13:30:10
期刊复现 | Python 实现多组线性回归拟合图(含误差棒、渐变色标与置信区间)

来源论文

论文地址:

https://www.nature.com/articles/s41467-025-63556-2

论文题目:

Amplified local cooling effect of forestation in warming Europe

复现图片

图 c 解读:该图展示不同下垫面对应的参数变化趋势拟合结果,三组散点及误差棒分别代表林地、开阔地与二者差值数据,搭配线性拟合曲线可直观呈现变量间相关关系、斜率与相关系数,反映数据变化规律、误差范围及相关性强弱。正式图注:图 c 不同下垫面下参数趋势的线性拟合分析。

图 d 解读:该图为变量相关性散点图,散点颜色映射另一指标数值,误差棒表征数据测量误差,结合整体线性拟合曲线,可清晰体现两组变量的关联趋势、数据离散程度与整体相关特征。正式图注:图 d 变量间相关性及线性拟合结果。

图 e 解读:该图呈现单日不同时段地表温度差值与对应指标的分布及拟合关系,不同颜色散点与曲线分别对应夜间、日均值、日间三组数据,阴影区域表征拟合误差范围,可对比不同时段数据的分布特征、变化趋势与拟合精度。正式图注:图 e 不同时段地表温度差值与指标的拟合关系。

合并总图 解读:该图整合三组分析结果,依次展示参数趋势拟合、变量相关性、分时段拟合结果,全面呈现多组数据的分布规律、相关关系与变化特征,可整体对比不同维度下的数据表现。正式图注:图 1 综合分析结果汇总图。

完整代码

import matplotlib.pyplot as pltimport numpy as npimport pandas as pdfrom scipy import statsfrom mpl_toolkits.axes_grid1.inset_locator import inset_axesimport osimport matplotlibfrom PIL import Image# 全局配置plt.rcParams['font.family'] = 'Times New Roman'plt.rcParams['mathtext.fontset'] = 'stix'plt.rcParams['axes.unicode_minus'] = Falseplt.rcParams['font.size'] = 12matplotlib.rcParams['pdf.fonttype'] = 42matplotlib.rcParams['ps.fonttype'] = 42COLOR_SCHEMES = {1: 'RdPu'}SELECTED_SCHEME = 1selected_cmap = COLOR_SCHEMES.get(SELECTED_SCHEME, 'RdPu')SAVE_BASE_DIR = os.path.join(os.getcwd(), "图表")if not os.path.exists(SAVE_BASE_DIR):    os.makedirs(SAVE_BASE_DIR)LABEL_FONT_SIZE = 16# 工具函数def add_rotated_label(ax, x1, y1, x2, y2, text, color, txt_x, offset=0.02):    p1 = ax.transData.transform((x1, y1))    p2 = ax.transData.transform((x2, y2))    angle = np.degrees(np.arctan2(p2[1] - p1[1], p2[0] - p1[0]))    txt_y = (y2 - y1) / (x2 - x1) * txt_x + y1 + offset    ax.text(txt_x, txt_y, text, color=color, fontsize=12, fontweight='bold',            rotation=angle, rotation_mode='anchor', transform=ax.transData,            va='center', ha='left', zorder=10)def add_rotated_text(ax, line, slope, intercept, r_value, color, txt_x, offset=0.005):    x1, y1 = line.get_xydata()[0]    x2, y2 = line.get_xydata()[-1]    p1 = ax.transData.transform((x1, y1))    p2 = ax.transData.transform((x2, y2))    dx = p2[0] - p1[0]    dy = p2[1] - p1[1]    angle = np.degrees(np.arctan2(dy, dx))    txt_y = slope * txt_x + intercept + offset    ax.text(txt_x, txt_y,            f"slope = {slope * 100:.2f}, r = {r_value:.2f}",            color=color, fontsize=12, fontweight='bold',            rotation=angle, rotation_mode='anchor',            transform=ax.transData, va='bottom', ha='left', zorder=10)# 图表Cdef plot_chart_c(data_path="data1.xlsx"):    df = pd.read_excel(data_path)    x = df['Trend of SC_w (%/decade)'].values    y_forest = df['Forest α_w (unitless/decade)'].values    err_forest = df['Forest α_w Error'].values    y_openland = df['Openland α_w (unitless/decade)'].values    err_openland = df['Openland α_w Error'].values    y_delta = df['Δα_w (unitless/decade)'].values    err_delta = df['Δα_w Error'].values    fig, ax = plt.subplots(figsize=(65), dpi=150)    ax.errorbar(x, y_forest, yerr=err_forest, fmt='none', ecolor='#7ccd7c',                elinewidth=1, capsize=2, alpha=0.6)    ax.scatter(x, y_forest, color='#5cb85c', label='Forest α$_w$',               s=60, edgecolors='none', alpha=0.8)    ax.errorbar(x, y_openland, yerr=err_openland, fmt='none', ecolor='#fff68f',                elinewidth=1, capsize=2, alpha=0.6)    ax.scatter(x, y_openland, color='#f0e64c', label='Openland α$_w$',               s=60, edgecolors='none', alpha=0.8)    ax.errorbar(x, y_delta, yerr=err_delta, fmt='none', ecolor='#e6b8af',                elinewidth=1, capsize=2, alpha=0.6)    ax.scatter(x, y_delta, color='#cc8888', label='Δα$_w$',               s=60, edgecolors='none', alpha=0.8)    slope_f, intercept_f, r_f, _, _ = stats.linregress(x, y_forest)    x_fit = np.array([-171])    y_fit_f = slope_f * x_fit + intercept_f    line_f, = ax.plot(x_fit, y_fit_f, color='#2e7d32', linewidth=2.5, zorder=5)    slope_o, intercept_o, r_o, _, _ = stats.linregress(x, y_openland)    y_fit_o = slope_o * x_fit + intercept_o    line_o, = ax.plot(x_fit, y_fit_o, color='#d4ac0d', linewidth=2.5, zorder=5)    slope_d, intercept_d, r_d, _, _ = stats.linregress(x, y_delta)    y_fit_d = slope_d * x_fit + intercept_d    line_d, = ax.plot(x_fit, y_fit_d, color='#b74141', linewidth=2.5, zorder=5)    ax.axhline(0, color='gray', linestyle='--', alpha=0.7, lw=1.5)    ax.axvline(0, color='gray', linestyle='--', alpha=0.7, lw=1.5)    ax.set_xlim(-171)    ax.set_ylim(-0.100.06)    ax.set_xticks(np.arange(-1624))    ax.set_xlabel('Trend of SC$_w$ (%/decade)', fontsize=12)    ax.set_ylabel('Trend of α$_w$ (unitless/decade)', fontsize=12)    ax.tick_params(axis='both', labelsize=12)    ax.legend(loc='lower right', fontsize=12)    ax.text(-0.121.02, 'c', transform=ax.transAxes, fontsize=LABEL_FONT_SIZE, fontweight='bold')    fig.canvas.draw()    add_rotated_text(ax, line_f, slope_f, intercept_f, r_f, '#2e7d32', txt_x=-16, offset=0.003)    add_rotated_text(ax, line_o, slope_o, intercept_o, r_o, '#d4ac0d', txt_x=-16, offset=0.003)    add_rotated_text(ax, line_d, slope_d, intercept_d, r_d, '#b74141', txt_x=-14, offset=0.003)    plt.tight_layout()    save_path = os.path.join(SAVE_BASE_DIR, 'chart_c.png')    plt.savefig(save_path, dpi=300, bbox_inches='tight')    plt.close()# 图表Ddef plot_chart_d(data_path="data2.xlsx"):    df_data = pd.read_excel(data_path)    x_data = df_data['x_data'].values    y_data = df_data['y_data'].values    y_error = df_data['y_error'].values    color_data = df_data['color_data'].values    cbar_ticks = [0, -5, -10, -15]    vmin_val = -15    vmax_val = 0    fig, ax = plt.subplots(figsize=(65))    ax.axhline(0, color='gray', linestyle='--', alpha=0.7, lw=1.5)    ax.axvline(0, color='gray', linestyle='--', alpha=0.7, lw=1.5)    scatter = ax.scatter(x_data, y_data, c=color_data, cmap=selected_cmap + '_r',                         s=120, edgecolors='black', linewidth=1.5, zorder=2,                         vmin=vmin_val, vmax=vmax_val)    ax.errorbar(x_data, y_data, yerr=y_error, fmt='none',                ecolor='darkgray', elinewidth=1.5, capsize=3, alpha=0.8, zorder=1)    slope, intercept, r_value, p_value, std_err = stats.linregress(x_data, y_data)    x_fit = np.array([-0.0050.065])    y_fit = slope * x_fit + intercept    ax.plot(x_fit, y_fit, color='black', linewidth=2.5, zorder=3)    annotation_text = f"slope = {slope:.2f}\nr = {r_value:.2f}"    ax.text(0.950.95, annotation_text, transform=ax.transAxes,            fontsize=12, ha='right', va='top')    cbaxes = inset_axes(ax, width="40%", height="4%", loc='lower center',                        bbox_to_anchor=(-0.250.211), bbox_transform=ax.transAxes)    cbar = fig.colorbar(scatter, cax=cbaxes, orientation='horizontal', extend='neither')    cbar.outline.set_edgecolor('black')    cbar.outline.set_linewidth(1.5)    cbar.set_label('Trend of SC$_w$ (%/decade)', fontsize=12, labelpad=8)    cbar.ax.xaxis.set_label_position('top')    cbar.ax.tick_params(labelsize=12)    cbar.set_ticks(cbar_ticks)    cbar.ax.invert_xaxis()    ax.set_xlim(-0.010.068)    ax.set_ylim(-0.50.2)    ax.set_xlabel('Trend of Δα$_w$ (unitless/decade)', fontsize=12)    ax.set_ylabel('Trend of daytime ΔLST$_w$ (K/decade)', fontsize=12)    ax.tick_params(axis='both', which='major', labelsize=12)    ax.text(-0.11.02, 'd', transform=ax.transAxes, fontsize=LABEL_FONT_SIZE, fontweight='bold')    save_path = os.path.join(SAVE_BASE_DIR, 'chart_d.png')    plt.savefig(save_path, dpi=300, bbox_inches='tight')    plt.close()# 图表Edef plot_chart_e(data_path="data3.xlsx", save_filename="chart_e.png"):    if not os.path.exists(data_path):        raise FileNotFoundError(f"未找到Excel文件:{data_path}")    df = pd.read_excel(data_path)    required_columns = ['SC_w (%)', 'ΔLST_w (Nighttime)', 'ΔLST_w (Daily Mean)', 'ΔLST_w (Daytime)']    for col in required_columns:        if col not in df.columns:            raise ValueError(f"缺少列:{col}")    sc_w = df['SC_w (%)'].values    night_y = df['ΔLST_w (Nighttime)'].values    daily_y = df['ΔLST_w (Daily Mean)'].values    day_y = df['ΔLST_w (Daytime)'].values    night_reg = stats.linregress(sc_w / 100, night_y)    night_slope, night_intercept, night_slope_err = night_reg.slope, night_reg.intercept, night_reg.stderr    daily_reg = stats.linregress(sc_w / 100, daily_y)    daily_slope, daily_intercept, daily_slope_err = daily_reg.slope, daily_reg.intercept, daily_reg.stderr    day_reg = stats.linregress(sc_w / 100, day_y)    day_slope, day_intercept, day_slope_err = day_reg.slope, day_reg.intercept, day_reg.stderr    fig, ax = plt.subplots(figsize=(65), dpi=150)    ax.scatter(sc_w, night_y, color='#ff9999', label='nighttime', s=120, alpha=0.7, edgecolors='none')    ax.scatter(sc_w, daily_y, color='#b3b3b3', label='daily mean', s=120, alpha=0.7, edgecolors='none')    ax.scatter(sc_w, day_y, color='#9999ff', label='daytime', s=120, alpha=0.7, edgecolors='none')    x_fit = np.linspace(sc_w.min(), sc_w.max(), 100)    y_n = night_slope * (x_fit / 100) + night_intercept    band_n = 0.03 + 0.001 * x_fit    ax.plot(x_fit, y_n, color='#ff3333', linewidth=2.5, zorder=5)    ax.fill_between(x_fit, y_n - band_n, y_n + band_n, color='#ffcccc', alpha=0.4)    y_d = daily_slope * (x_fit / 100) + daily_intercept    band_d = 0.04 + 0.0015 * x_fit    ax.plot(x_fit, y_d, color='#333333', linewidth=2.5, zorder=5)    ax.fill_between(x_fit, y_d - band_d, y_d + band_d, color='#dddddd', alpha=0.4)    y_t = day_slope * (x_fit / 100) + day_intercept    band_t = 0.06 + 0.002 * x_fit    ax.plot(x_fit, y_t, color='#3366ff', linewidth=2.5, zorder=5)    ax.fill_between(x_fit, y_t - band_t, y_t + band_t, color='#ccccff', alpha=0.4)    fig.canvas.draw()    add_rotated_label(ax, sc_w.min(), night_intercept, sc_w.max(), night_slope * (sc_w.max() / 100) + night_intercept,                      f"slope = {night_slope:.2f} ± {night_slope_err:.2f}", '#ff3333', txt_x=sc_w.min() + 5,                      offset=0.02)    add_rotated_label(ax, sc_w.min(), daily_intercept, sc_w.max(), daily_slope * (sc_w.max() / 100) + daily_intercept,                      f"slope = {daily_slope:.2f} ± {daily_slope_err:.2f}", '#333333', txt_x=sc_w.min() + 5,                      offset=0.02)    add_rotated_label(ax, sc_w.min(), day_intercept, sc_w.max(), day_slope * (sc_w.max() / 100) + day_intercept,                      f"slope = {day_slope:.2f} ± {day_slope_err:.2f}", '#3366ff', txt_x=sc_w.min() + 5, offset=0.02)    ax.set_xlim(sc_w.min() - 1, sc_w.max() + 1)    ax.set_ylim(-0.30.4)    ax.set_xlabel('SC$_w$ (%)', fontsize=12)    ax.set_ylabel('ΔLST$_w$ (K)', fontsize=12)    ax.tick_params(axis='both', labelsize=12)    ax.legend(loc='lower right', fontsize=12, frameon=True)    ax.text(-0.11.02, 'e', transform=ax.transAxes, fontsize=LABEL_FONT_SIZE, fontweight='bold')    plt.tight_layout()    save_path = os.path.join(SAVE_BASE_DIR, save_filename)    plt.savefig(save_path, dpi=300, bbox_inches='tight')    plt.close()# 拼接总图def merge_three_plots():    p1 = os.path.join(SAVE_BASE_DIR, "chart_c.png")    p2 = os.path.join(SAVE_BASE_DIR, "chart_d.png")    p3 = os.path.join(SAVE_BASE_DIR, "chart_e.png")    im1 = Image.open(p1)    im2 = Image.open(p2)    im3 = Image.open(p3)    height = im1.height    im2 = im2.resize((int(im2.width * height / im2.height), height))    im3 = im3.resize((int(im3.width * height / im3.height), height))    total_width = im1.width + im2.width + im3.width    new_im = Image.new('RGB', (total_width, height), (255255255))    new_im.paste(im1, (00))    new_im.paste(im2, (im1.width, 0))    new_im.paste(im3, (im1.width + im2.width, 0))    merge_path = os.path.join(SAVE_BASE_DIR, "合并总图.png")    new_im.save(merge_path, dpi=(300300))# 主入口if __name__ == "__main__":    DATA1_PATH = "data1.xlsx"    DATA2_PATH = "data2.xlsx"    DATA3_PATH = "data3.xlsx"    try:        plot_chart_c(DATA1_PATH)        plot_chart_d(DATA2_PATH)        plot_chart_e(DATA3_PATH)        merge_three_plots()    except Exception as e:        pass

数据获取

评论+私信获取

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-02 23:28:37 HTTP/2.0 GET : https://f.mffb.com.cn/a/496472.html
  2. 运行时间 : 0.319743s [ 吞吐率:3.13req/s ] 内存消耗:4,613.19kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=db5cf3326d0f1060fb860cf8f2389e73
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.001051s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001546s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.007924s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000746s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001461s ]
  6. SELECT * FROM `set` [ RunTime:0.000650s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001556s ]
  8. SELECT * FROM `article` WHERE `id` = 496472 LIMIT 1 [ RunTime:0.001262s ]
  9. UPDATE `article` SET `lasttime` = 1783006117 WHERE `id` = 496472 [ RunTime:0.027522s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000715s ]
  11. SELECT * FROM `article` WHERE `id` < 496472 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001283s ]
  12. SELECT * FROM `article` WHERE `id` > 496472 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001151s ]
  13. SELECT * FROM `article` WHERE `id` < 496472 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.006764s ]
  14. SELECT * FROM `article` WHERE `id` < 496472 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.053668s ]
  15. SELECT * FROM `article` WHERE `id` < 496472 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.049744s ]
0.324508s