当前位置:首页>python>Nature期刊图复现 | Python 实现时序折线与散点柱状多面板组合图

Nature期刊图复现 | Python 实现时序折线与散点柱状多面板组合图

  • 2026-06-28 04:33:37
Nature期刊图复现 | Python 实现时序折线与散点柱状多面板组合图

来源论文

论文地址:

https://www.nature.com/articles/s41586-024-08241-y

论文题目:

Understanding the neural code of stress to control anhedonia

原图释(英):

E, A linear SVM decoder was trained to decode reward choice (sucrose versus water) using only trials of similar lick rates between the two groups. BLA neurons in the resilient mice showed significantly higher decoding accuracy than susceptible mice (n = 10 subsamplings of 60 neurons, 100 cross-validations, Mann-Whitney, P < 0.0001). Coloured lines in line plots indicate mean of subsampling. Bar plots data are mean ± s.e.m. Chance distributions are ± 2 x s.d. around theoretical chance level. #Significantly different from chance; ** P < 0.01.

(F) resilient mice (n = 10 subsamplings of 21 neurons per subsampling, 97 total neurons, 100 cross-validations, Pre-Reward, Different reward versus Same reward, Mann-Whitney, P < 0.001; Post-Reward, Same reward versus chance, P < 0.05, Different reward versus Same reward, Mann-Whitney, P < 0.0001). In Pre-reward, resilient group showed greater decoding accuracy of reward choice in Different reward in comparison to Same reward. In Post-reward, all groups showed greater decoding accuracy of reward choice in Different reward in comparison to Same reward. 

原图释(中):(E)本研究仅选取两组小鼠舔舐频率相近的试验数据,训练线性支持向量机(SVM)解码器,用以区分奖赏选择行为(蔗糖饮水 vs 普通饮水)。抗压型小鼠的基底外侧杏仁核(BLA)神经元解码准确率显著高于易感型小鼠(对 60 个神经元进行 10 次子采样,开展 100 次交叉验证;曼 - 惠特尼检验,P < 0.0001)。折线图中彩色线条代表子采样结果的平均值;柱状图数据为平均值 ± 标准误。随机水平分布区间为理论随机值上下各 2 倍标准差范围。与随机水平存在显著差异;** P < 0.01。

(F)抗压型小鼠(共 97 个神经元,每次子采样选取 21 个神经元,总计 10 次子采样、100 次交叉验证):奖赏前期,区分不同奖赏相同奖赏的组间对比采用曼 - 惠特尼检验,P < 0.001;奖赏后期,相同奖赏组解码准确率与随机水平相比P < 0.05,不同奖赏组与相同奖赏组对比,曼 - 惠特尼检验P < 0.0001。结果显示:奖赏前期,抗压组对不同奖赏选择行为的解码准确率明显高于相同奖赏;奖赏后期,所有组别对不同奖赏选择行为的解码准确率均高于相同奖赏。

复现图片

图 E 的主图与内嵌图作用

主图(时序折线图)的作用:主图旨在阐明易感组(Susceptible)与恢复组(Resilient)在连续时间维度下的神经元解码准确率动态演变特征。该图以高时间分辨率(-4 s 至 4 s)完整记录了基底侧杏仁核(BLA)刺激事件发生前后的信号波动,用以精确捕捉两组在信息处理过程中的分歧时间节点、响应速率及效应维持的窗口期。此外,背景引入的黄色阴影(Chance 区间)作为统计基准线,可直观表征两组解码效能超越随机概率的具体时段,为后续的阶段性定量分析奠定了时序基础。

内嵌图(阶段柱状图)的作用:内嵌图通过整合时间序列中的波动噪声,旨在为实验结论提供阶段性的定量统计学证实。鉴于连续时序数据难以直接进行离散的主效应检验,本图将数据按实验进程聚拢为 “Pre” 和 “Post” 两个核心阶段,以柱高表征均值、T型误差棒表征标准误(SEM)进行规范化呈现。柱体上方标注的统计学符号构成了本图的核心逻辑支撑,严谨地证实了不同表型小鼠在刺激前后以及组别之间存在显著的生物学差异。

图 F 的主图与内嵌图作用

主图(柱状图 + 抖动散点)的作用:主图旨在定量评估恢复组动物在不同实验条件下,群体集中趋势与个体行为离散度的协同响应特征。通过实心与空心柱状图的视觉对比,直观呈现了“不同奖励”与“相同奖励”在群体平均层面的解码准确率差异,顶部的显著性连线则直接回答了恢复组对异质性奖励具备更高编码敏感度的科学假设。更重要的是,柱内叠加的抖动散点隐显了各独立样本的原始数据分布,在极大地增强数据透明度的同时,完整披露了样本的离散区间与分布合规性,符合现代学术出版对数据严谨性的规范要求。

内嵌图(时序折线图)的作用:内嵌图的核心任务是对主图因高度概括而缺失的时间维度信息进行关键补充。尽管主图在阶段性对比上具备高度的可读性,但其抹杀了神经信号随时间流逝的动态调节特性;内嵌图重新引入时序轴(-4 s 至 4 s),旨在完整重构此项认知差异的动态演进历程。通过实线(不同奖励)与虚线(相同奖励)在刺激后的分离开趋向,进一步证实了动物对奖励的辨别优势究竟是在何种特定时间窗口内达到峰值并逐渐消退的,从而使整体的科学叙事更具因果说服力。

配色方案

color_palettes = {    1: {"sus""#1f77b4""res""#f1c40f""scatter""#ffcc80"},  # 方案1: 经典 Nature 神经科学风格 (经典蓝 + 活力金黄 + 柔和浅橙散点)    2: {"sus""#3c5488""res""#e64b35""scatter""#f39c12"},  # 方案2: Lancet 柳叶刀风格 (海军蓝 + 经典朱红 + 样本暖橙)    3: {"sus""#00a087""res""#3c5488""scatter""#79af97"},  # 方案3: NEJM 新英格兰医学风格 (薄荷绿 + 深邃海蓝 + 淡绿散点)    4: {"sus""#4dbbd5""res""#e64b35""scatter""#f4a261"},  # 方案4: JAMA 美国医学会风格 (天空蓝 + 艳丽珊瑚红 + 浅珊瑚散点)    5: {"sus""#1f77b4""res""#ff7f0e""scatter""#ffbb78"},  # 方案5: Science 科学通用折线柱状图对比色 (标准蓝 + 亮橙 + 柔和浅红)    6: {"sus""#2ca02c""res""#d62728""scatter""#ff9896"},  # 方案6: Cell 细胞生理与发育生物学常规色 (植物绿 + 细胞红 + 浅粉散点)    7: {"sus""#9467bd""res""#8c564b""scatter""#c49c94"},  # 方案7: Nature Genetics 遗传学基因图谱常用色 (高贵紫 + 泥土棕 + 浅褐散点)    8: {"sus""#e377c2""res""#7f7f7f""scatter""#c7c7c7"},  # 方案8: Nature Communication 综合期刊对比色 (亮粉紫 + 中性灰 + 浅灰散点)    9: {"sus""#17beccf0""res""#bcbd22f0""scatter""#dbdb8d"},  # 方案9: IEEE 电子与计算科学高对比高饱和度色 (青翠蓝 + 芥末黄 + 淡黄散点)    10: {"sus""#4a148c""res""#00695c""scatter""#80cbc4"},  # 方案10: Material Today 材料及物理科学冷色调 (深紫罗兰 + 墨绿 + 湖绿散点)    11: {"sus""#20b2aa""res""#ff6347""scatter""#ffa07a"},  # 方案11: BioMed Central 生物医药高亮醒目对比色 (浅海蓝 + 番茄红 + 肉粉散点)    12: {"sus""#2f4f4f""res""#d2691e""scatter""#f4a460"},  # 方案12: Ecology 传统生态与环境科学配色 (暗石板灰 + 巧克力棕 + 沙滩黄散点)    13: {"sus""#002060""res""#ed7d31""scatter""#f8cbad"},  # 方案13: Clinical Chemistry 临床化学高端严谨色 (经典藏青 + 现代橙 + 浅肤色散点)    14: {"sus""#5b9bd5""res""#70ad47""scatter""#c5e0b4"},  # 方案14: Frontiers 边界系列期刊高频商务质感色 (柔和钢蓝 + 橄榄绿 + 浅绿散点)    15: {"sus""#3a86ff""res""#ff006e""scatter""#ffbe0b"},  # 方案15: Advanced Materials 顶刊高现代感色彩 (电光蓝 + 荧光粉红 + 明黄散点)    16: {"sus""#03045e""res""#00b4d8""scatter""#caf0f8"},  # 方案16: Nature Climate Change 气候环境渐变层次色 (极地深蓝 + 冰川蓝 + 极浅蓝散点)    17: {"sus""#6d597a""res""#e56b6f""scatter""#eaac8b"},  # 方案17: Social Science 社会学与群体行为学高级暗色 (莫兰迪紫 + 砖红 + 浅杏散点)    18: {"sus""#4361ee""res""#4cc9f0""scatter""#b5e2fa"},  # 方案18: BioInformatics 生物信息学数字化高显色 (科技蓝 + 亮青色 + 淡蓝散点)    19: {"sus""#264653""res""#e76f51""scatter""#f4a261"},  # 方案19: Earth Science 地球科学地质构造色 (深海青 + 铁锈红 + 黄土散点)    20: {"sus""#2b2d42""res""#d90429""scatter""#ef233c"}   # 方案20: Oncogene 肿瘤学癌细胞浸润高警示色 (黑金属灰 + 警示深红 + 鲜红散点)}

完整代码(模拟数据)

import osimport matplotlib.pyplot as pltimport matplotlib.patches as mpatchesimport matplotlib.lines as mlinesfrom matplotlib.legend_handler import HandlerTupleimport numpy as npimport pandas as pd# ==========================================# 1. 自动创建图表文件夹并读取数据# ==========================================output_dir = "图表"if not os.path.exists(output_dir):    os.makedirs(output_dir)excel_file1 = "data.xlsx"excel_file2 = "data2.xlsx"if not os.path.exists(excel_file1) or not os.path.exists(excel_file2):    raise FileNotFoundError("请确保 data.xlsx 和 data2.xlsx 数据文件均存在于当前目录下!")df_main_E = pd.read_excel(excel_file1, sheet_name="Main_Line_Data")df_inset_E = pd.read_excel(excel_file1, sheet_name="Inset_Bar_Data")df_bar_F = pd.read_excel(excel_file2, sheet_name="Main_Bar_Data")df_scatter_F = pd.read_excel(excel_file2, sheet_name="Scatter_Points_Data")df_inset_F = pd.read_excel(excel_file2, sheet_name="Inset_Line_Data")# ==========================================# 2. 学术期刊专业科研配色方案字典 (20种)# ==========================================color_palettes = {    1: {"sus""#1f77b4""res""#f1c40f""scatter""#ffcc80"},  # 方案1: 经典 Nature 神经科学风格 (经典蓝 + 活力金黄 + 柔和浅橙散点)    2: {"sus""#3c5488""res""#e64b35""scatter""#f39c12"},  # 方案2: Lancet 柳叶刀风格 (海军蓝 + 经典朱红 + 样本暖橙)    3: {"sus""#00a087""res""#3c5488""scatter""#79af97"},  # 方案3: NEJM 新英格兰医学风格 (薄荷绿 + 深邃海蓝 + 淡绿散点)    4: {"sus""#4dbbd5""res""#e64b35""scatter""#f4a261"},  # 方案4: JAMA 美国医学会风格 (天空蓝 + 艳丽珊瑚红 + 浅珊瑚散点)    5: {"sus""#1f77b4""res""#ff7f0e""scatter""#ffbb78"},  # 方案5: Science 科学通用折线柱状图对比色 (标准蓝 + 亮橙 + 柔和浅红)    6: {"sus""#2ca02c""res""#d62728""scatter""#ff9896"},  # 方案6: Cell 细胞生理与发育生物学常规色 (植物绿 + 细胞红 + 浅粉散点)    7: {"sus""#9467bd""res""#8c564b""scatter""#c49c94"},  # 方案7: Nature Genetics 遗传学基因图谱常用色 (高贵紫 + 泥土棕 + 浅褐散点)    8: {"sus""#e377c2""res""#7f7f7f""scatter""#c7c7c7"},  # 方案8: Nature Communication 综合期刊对比色 (亮粉紫 + 中性灰 + 浅灰散点)    9: {"sus""#17beccf0""res""#bcbd22f0""scatter""#dbdb8d"},  # 方案9: IEEE 电子与计算科学高对比高饱和度色 (青翠蓝 + 芥末黄 + 淡黄散点)    10: {"sus""#4a148c""res""#00695c""scatter""#80cbc4"},  # 方案10: Material Today 材料及物理科学冷色调 (深紫罗兰 + 墨绿 + 湖绿散点)    11: {"sus""#20b2aa""res""#ff6347""scatter""#ffa07a"},  # 方案11: BioMed Central 生物医药高亮醒目对比色 (浅海蓝 + 番茄红 + 肉粉散点)    12: {"sus""#2f4f4f""res""#d2691e""scatter""#f4a460"},  # 方案12: Ecology 传统生态与环境科学配色 (暗石板灰 + 巧克力棕 + 沙滩黄散点)    13: {"sus""#002060""res""#ed7d31""scatter""#f8cbad"},  # 方案13: Clinical Chemistry 临床化学高端严谨色 (经典藏青 + 现代橙 + 浅肤色散点)    14: {"sus""#5b9bd5""res""#70ad47""scatter""#c5e0b4"},  # 方案14: Frontiers 边界系列期刊高频商务质感色 (柔和钢蓝 + 橄榄绿 + 浅绿散点)    15: {"sus""#3a86ff""res""#ff006e""scatter""#ffbe0b"},  # 方案15: Advanced Materials 顶刊高现代感色彩 (电光蓝 + 荧光粉红 + 明黄散点)    16: {"sus""#03045e""res""#00b4d8""scatter""#caf0f8"},  # 方案16: Nature Climate Change 气候环境渐变层次色 (极地深蓝 + 冰川蓝 + 极浅蓝散点)    17: {"sus""#6d597a""res""#e56b6f""scatter""#eaac8b"},  # 方案17: Social Science 社会学与群体行为学高级暗色 (莫兰迪紫 + 砖红 + 浅杏散点)    18: {"sus""#4361ee""res""#4cc9f0""scatter""#b5e2fa"},  # 方案18: BioInformatics 生物信息学数字化高显色 (科技蓝 + 亮青色 + 淡蓝散点)    19: {"sus""#264653""res""#e76f51""scatter""#f4a261"},  # 方案19: Earth Science 地球科学地质构造色 (深海青 + 铁锈红 + 黄土散点)    20: {"sus""#2b2d42""res""#d90429""scatter""#ef233c"}   # 方案20: Oncogene 肿瘤学癌细胞浸润高警示色 (黑金属灰 + 警示深红 + 鲜红散点)}# 选择方案 1selected_palette = color_palettes[1]color_sus = selected_palette["sus"]color_res = selected_palette["res"]color_main_F = selected_palette["res"]color_edge_F = selected_palette["res"]color_scatter_F = selected_palette["scatter"]# ==========================================# 3. 设置全局绘图样式# ==========================================plt.rcParams["font.family"] = "sans-serif"plt.rcParams["font.sans-serif"] = ["Arial""Liberation Sans""DejaVu Sans"]plt.rcParams["axes.unicode_minus"] = Falsefig, (ax_E, ax_F) = plt.subplots(1, 2, figsize=(13.5, 6.5))fig.subplots_adjust(left=0.08, right=0.95, top=0.90, bottom=0.12, wspace=0.3)# ==========================================# 4. 绘制左侧【图 E】# ==========================================ax_E.axhspan(0.45, 0.55, color="#e4dec2", alpha=0.6, zorder=1)ax_E.axhline(0.5, color="#f1c40f", linestyle="-", linewidth=1.5, zorder=2)ax_E.text(3.7, 0.42, "Chance", fontsize=11, color="#333333", ha="right", va="top")ax_E.axvline(0, color="#e74c3c", linestyle=":", linewidth=2, zorder=2)ax_E.text(0, 1.02, "BLA", fontsize=14, fontweight="bold", color="black",          ha="center", va="bottom", transform=ax_E.get_xaxis_transform())ax_E.plot(df_main_E["Time"], df_main_E["Susceptible"], color=color_sus, linewidth=4, label="Susceptible", zorder=3)ax_E.plot(df_main_E["Time"], df_main_E["Resilient"], color=color_res, linewidth=4, label="Resilient", zorder=4)ax_E.set_xlabel("Time (s)", fontsize=13, labelpad=5)ax_E.set_ylabel("Decoding accuracy", fontsize=13, labelpad=5)ax_E.set_xlim(-4, 4)ax_E.set_ylim(0.3, 1.0)ax_E.set_xticks(range(-4, 5))ax_E.set_yticks(np.arange(0.3, 1.1, 0.1))ax_E.tick_params(axis="both", which="major", labelsize=12, width=1.5, length=6)ax_E.spines["top"].set_visible(False)ax_E.spines["right"].set_visible(False)ax_E.spines["left"].set_linewidth(1.5)ax_E.spines["bottom"].set_linewidth(1.5)ax_E.legend(loc="upper right", frameon=False, fontsize=12, handlelength=1.5, labelspacing=0.3)ax_E.text(-0.12, 1.05, "E", transform=ax_E.transAxes, fontsize=20, fontweight="bold", va="top", ha="right")ax_inset_E = ax_E.inset_axes([0.15, 0.58, 0.28, 0.32])pre_sus = df_inset_E[(df_inset_E["Phase"] == "Pre") & (df_inset_E["Group"] == "Susceptible")].iloc[0]pre_res = df_inset_E[(df_inset_E["Phase"] == "Pre") & (df_inset_E["Group"] == "Resilient")].iloc[0]post_sus = df_inset_E[(df_inset_E["Phase"] == "Post") & (df_inset_E["Group"] == "Susceptible")].iloc[0]post_res = df_inset_E[(df_inset_E["Phase"] == "Post") & (df_inset_E["Group"] == "Resilient")].iloc[0]bar_width_E = 0.38x_pre_sus = 1.0x_pre_res = 1.0 + bar_width_E + 0.04x_post_sus = 2.1x_post_res = 2.1 + bar_width_E + 0.04ax_inset_E.bar(x_pre_sus, pre_sus["Accuracy"], yerr=pre_sus["SEM"], width=bar_width_E, color=color_sus, error_kw={"elinewidth": 1.5, "capsize": 0})ax_inset_E.bar(x_pre_res, pre_res["Accuracy"], yerr=pre_res["SEM"], width=bar_width_E, color=color_res, error_kw={"elinewidth": 1.5, "capsize": 0})ax_inset_E.bar(x_post_sus, post_sus["Accuracy"], yerr=post_sus["SEM"], width=bar_width_E, color=color_sus, error_kw={"elinewidth": 1.5, "capsize": 0})ax_inset_E.bar(x_post_res, post_res["Accuracy"], yerr=post_res["SEM"], width=bar_width_E, color=color_res, error_kw={"elinewidth": 1.5, "capsize": 0})ax_inset_E.axvline((x_pre_res + x_post_sus) / 2, color="#bdc3c7", linestyle=":", linewidth=1)ax_inset_E.text((x_pre_sus + x_pre_res) / 2, 1.15, "Pre", ha="center", va="bottom", fontsize=10)ax_inset_E.text((x_post_sus + x_post_res) / 2, 1.15, "Post", ha="center", va="bottom", fontsize=10)ax_inset_E.text(x_pre_res, pre_res["Accuracy"] + 0.1, "#", ha="center", fontsize=10)ax_inset_E.text(x_post_sus, post_sus["Accuracy"] + 0.08, "#", ha="center", fontsize=10)ax_inset_E.text(x_post_res, post_res["Accuracy"] + 0.06, "#", ha="center", fontsize=10)y_line_E = 0.92ax_inset_E.plot([x_post_sus, x_post_res], [y_line_E, y_line_E], color="black", linewidth=1)ax_inset_E.text((x_post_sus + x_post_res) / 2, y_line_E - 0.02, "**", ha="center", va="bottom", fontsize=10)ax_inset_E.set_ylabel("Decoding Accuracy", fontsize=9, labelpad=2)ax_inset_E.set_xlim(0.6, 3.2)ax_inset_E.set_ylim(0, 1.0)ax_inset_E.set_xticks([])ax_inset_E.set_yticks([0, 0.2, 0.6, 1.0])ax_inset_E.tick_params(axis="y", labelsize=8, width=1, length=3)ax_inset_E.spines["top"].set_visible(False)ax_inset_E.spines["right"].set_visible(False)# ==========================================# 5. 绘制右侧【图 F】# ==========================================phases_F = ["Pre""Post"]x_positions_F = [1, 2.5]bar_width_F = 0.45for i, phase in enumerate(phases_F):    df_b_p = df_bar_F[df_bar_F["Phase"] == phase]    diff_row = df_b_p[df_b_p["Condition"] == "Different reward"].iloc[0]    same_row = df_b_p[df_b_p["Condition"] == "Same reward"].iloc[0]    x_diff = x_positions_F[i] - bar_width_F / 2 - 0.05    x_same = x_positions_F[i] + bar_width_F / 2 + 0.05    ax_F.bar(x_diff, diff_row["Mean_Accuracy"], yerr=diff_row["SEM"], width=bar_width_F, color=color_main_F, edgecolor=color_edge_F, linewidth=2, error_kw={"elinewidth": 2, "capsize": 0}, zorder=2)    ax_F.bar(x_same, same_row["Mean_Accuracy"], yerr=same_row["SEM"], width=bar_width_F, color="none", edgecolor=color_edge_F, linewidth=2, error_kw={"elinewidth": 2, "capsize": 0}, zorder=2)    pts_diff = df_scatter_F[(df_scatter_F["Phase"] == phase) & (df_scatter_F["Condition"] == "Different reward")]["Accuracy"]    pts_same = df_scatter_F[(df_scatter_F["Phase"] == phase) & (df_scatter_F["Condition"] == "Same reward")]["Accuracy"]    np.random.seed(i + 100)    jitter_diff = np.random.uniform(-0.08, 0.08, size=len(pts_diff))    jitter_same = np.random.uniform(-0.08, 0.08, size=len(pts_same))    ax_F.scatter([x_diff] * len(pts_diff) + jitter_diff, pts_diff, color=color_scatter_F, edgecolor="none", alpha=0.8, s=15, zorder=3)    ax_F.scatter([x_same] * len(pts_same) + jitter_same, pts_same, color=color_scatter_F, edgecolor="none", alpha=0.8, s=15, zorder=3)    y_line_F = 0.67 if phase == "Pre" else 0.93    ax_F.plot([x_diff, x_same], [y_line_F, y_line_F], color="black", linewidth=1.5, zorder=4)    ax_F.text((x_diff + x_same) / 2, y_line_F - 0.01, "**", ha="center", va="bottom", fontsize=14, fontweight="bold", zorder=4)x_mid_F = (x_positions_F[0] + x_positions_F[1]) / 2ax_F.plot([x_mid_F, x_mid_F], [0.45, 0.55], color="grey", linestyle=":", linewidth=2, zorder=5)ax_F.scatter(x_mid_F, 0.5, color="grey", s=35, zorder=6)x_chance_final = x_same + 0.45ax_F.plot([x_chance_final, x_chance_final], [0.45, 0.55], color="grey", linestyle=":", linewidth=2, zorder=5)ax_F.scatter(x_chance_final, 0.5, color="grey", s=35, zorder=6)ax_F.text(x_chance_final + 0.08, 0.5, "Chance", color="grey", rotation=-90, va="center", ha="left", fontsize=12, zorder=5)ax_F.set_ylabel("Decoding accuracy", fontsize=14, labelpad=8)ax_F.set_xlim(0.4, 3.6)ax_F.set_ylim(0.3, 1.05)ax_F.set_xticks(x_positions_F)ax_F.set_xticklabels(phases_F, fontsize=14)ax_F.set_yticks([0.4, 0.6, 0.8, 1.0])ax_F.tick_params(axis="y", labelsize=12, width=1.5, length=6)ax_F.tick_params(axis="x", length=0)ax_F.spines["top"].set_visible(False)ax_F.spines["right"].set_visible(False)ax_F.spines["left"].set_linewidth(1.5)ax_F.spines["bottom"].set_linewidth(1.5)ax_F.set_title("Resilient", fontsize=16, fontweight="bold", pad=15)ax_F.text(-0.12, 1.05, "F", transform=ax_F.transAxes, fontsize=20, fontweight="bold", va="top", ha="right")# --- 内嵌小图 (Inset Line Plot F) ---ax_inset_F = ax_F.inset_axes([0.15, 0.65, 0.32, 0.24])ax_inset_F.axhspan(0.46, 0.54, color="#b0bec5", alpha=0.5, zorder=1)ax_inset_F.axhline(0.5, color="grey", linestyle="--", linewidth=1, zorder=1)ax_inset_F.text(3.8, 0.42, "Chance", fontsize=10, color="black", ha="right", va="top")ax_inset_F.axvline(0, color="#f44336", linestyle=":", linewidth=1.5)line_diff, = ax_inset_F.plot(df_inset_F["Time"], df_inset_F["Different_reward"], color=color_main_F, linewidth=2.5, linestyle="-")line_same, = ax_inset_F.plot(df_inset_F["Time"], df_inset_F["Same_reward"], color=color_main_F, linewidth=2.5, linestyle=":")patch_diff = mpatches.Patch(color=color_main_F)patch_same = mpatches.Patch(facecolor="none", edgecolor=color_edge_F, linewidth=2)leg_line_diff = mlines.Line2D([], [], color=color_main_F, linewidth=2.5, linestyle="-")leg_line_same = mlines.Line2D([], [], color=color_main_F, linewidth=2.5, linestyle=":")ax_inset_F.legend(    handles=[(patch_diff, leg_line_diff), (patch_same, leg_line_same)],    labels=["Different reward""Same reward"],    loc="upper left",    bbox_to_anchor=(1.05, 1.45),    frameon=False,    fontsize=11,    handlelength=2.0,    labelspacing=0.4,    handler_map={tuple: HandlerTuple(ndivide=None)})ax_inset_F.set_xlabel("Time (s)", fontsize=11, labelpad=2)ax_inset_F.set_ylabel("Decoding accuracy", fontsize=10, labelpad=2)ax_inset_F.set_xlim(-4, 4)ax_inset_F.set_ylim(0.3, 1.0)ax_inset_F.set_xticks([-4, -2, 0, 2, 4])ax_inset_F.set_yticks([0.4, 0.8, 1.0])ax_inset_F.tick_params(axis="both", labelsize=10, width=1.2, length=4)ax_inset_F.spines["top"].set_visible(False)ax_inset_F.spines["right"].set_visible(False)# ==========================================# 6. 保存拼合后的多面板图表# ==========================================output_path = os.path.join(output_dir, "combined_EF_plot.png")plt.savefig(output_path, dpi=300, bbox_inches="tight")plt.close()

数据获取

评论+私信获取

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-03 01:00:42 HTTP/2.0 GET : https://f.mffb.com.cn/a/499123.html
  2. 运行时间 : 0.199948s [ 吞吐率:5.00req/s ] 内存消耗:4,612.84kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=1ba1c83df554bfd2f77c880ad4c43266
  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.000724s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000766s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.001135s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000291s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000458s ]
  6. SELECT * FROM `set` [ RunTime:0.000198s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000575s ]
  8. SELECT * FROM `article` WHERE `id` = 499123 LIMIT 1 [ RunTime:0.000490s ]
  9. UPDATE `article` SET `lasttime` = 1783011642 WHERE `id` = 499123 [ RunTime:0.008365s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000265s ]
  11. SELECT * FROM `article` WHERE `id` < 499123 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000431s ]
  12. SELECT * FROM `article` WHERE `id` > 499123 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000356s ]
  13. SELECT * FROM `article` WHERE `id` < 499123 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.007535s ]
  14. SELECT * FROM `article` WHERE `id` < 499123 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.020249s ]
  15. SELECT * FROM `article` WHERE `id` < 499123 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.020265s ]
0.201498s