diff --git a/codes/experiments/synthetic_data/analysis/processing_time_analysis.py b/codes/experiments/synthetic_data/analysis/processing_time_analysis.py index 15e8329..97f5267 100644 --- a/codes/experiments/synthetic_data/analysis/processing_time_analysis.py +++ b/codes/experiments/synthetic_data/analysis/processing_time_analysis.py @@ -115,11 +115,11 @@ print(f"Saved: {save_folder}/k4_vs_N.png") # k3 fig, ax = plt.subplots(figsize=(7, 5)) -ax.plot(nodes, k3_bin, marker="o", color="steelblue", label="binary k4") -ax.plot(nodes, k3_fib, marker="s", color="darkorange", label="fibonacci k4") +ax.plot(nodes, k3_bin, marker="o", color="steelblue", label="binary k3") +ax.plot(nodes, k3_fib, marker="s", color="darkorange", label="fibonacci k3") ax.set_xlabel("N (nodes)") -# ax.set_ylabel("k3 — decrease-key cost per call [s]") -# ax.set_title("k3 (decrease-key unit cost) vs N") +ax.set_ylabel("k3 — iteration cost per call [s]") +ax.set_title("k3 (iteration unit cost) vs N") ax.legend(fontsize=8) ax.grid(True, alpha=0.4) fig.tight_layout()