update readme
This commit is contained in:
@@ -170,7 +170,7 @@ def fig1_site_map():
|
||||
|
||||
# ... (图例和标签代码保持不变) ...
|
||||
|
||||
ax.set_title('Fig.1: Site Map (Demand μ & Visit Frequency k)', fontsize=14, fontweight='bold')
|
||||
# ax.set_title('Fig.1: Site Map (Demand μ & Visit Frequency k)', fontsize=14, fontweight='bold')
|
||||
ax.set_xlabel('Longitude', fontsize=12)
|
||||
ax.set_ylabel('Latitude', fontsize=12)
|
||||
style_axes(ax)
|
||||
@@ -213,7 +213,7 @@ def fig2_demand_correction():
|
||||
|
||||
ax.set_xlabel('Site', fontsize=12)
|
||||
ax.set_ylabel('Demand per Visit', fontsize=12)
|
||||
ax.set_title('Fig.2: Truncation Correction for High-Demand Sites', fontsize=14, fontweight='bold')
|
||||
# ax.set_title('Fig.2: Truncation Correction for High-Demand Sites', fontsize=14, fontweight='bold')
|
||||
ax.set_xticks(x)
|
||||
ax.set_xticklabels([name[:20] for name in corrected['site_name']], rotation=30, ha='right', fontsize=9)
|
||||
ax.legend(fontsize=10)
|
||||
@@ -267,7 +267,7 @@ def fig3_k_distribution():
|
||||
ax2.legend(fontsize=10)
|
||||
style_axes(ax2)
|
||||
|
||||
plt.suptitle('Fig.3: Visit Frequency Allocation Analysis', fontsize=14, fontweight='bold', y=1.02)
|
||||
# plt.suptitle('Fig.3: Visit Frequency Allocation Analysis', fontsize=14, fontweight='bold', y=1.02)
|
||||
plt.tight_layout()
|
||||
plt.savefig(FIGURES_PATH / 'fig3_k_distribution.png', dpi=150, bbox_inches='tight')
|
||||
plt.close()
|
||||
@@ -361,7 +361,7 @@ def fig4_efficiency_fairness():
|
||||
|
||||
ax.set_xlabel('E2 (Quality-Weighted Service Volume)', fontsize=12)
|
||||
ax.set_ylabel('F1 (Gini Coefficient, lower = fairer)', fontsize=12)
|
||||
ax.set_title('Fig.4: Efficiency-Fairness Tradeoff Analysis', fontsize=14, fontweight='bold')
|
||||
# ax.set_title('Fig.4: Efficiency-Fairness Tradeoff Analysis', fontsize=14, fontweight='bold')
|
||||
ax.legend(
|
||||
handles=legend_handles,
|
||||
loc="upper left",
|
||||
@@ -432,7 +432,7 @@ def fig5_calendar_heatmap():
|
||||
|
||||
ax.set_xlabel('Day of Month', fontsize=12)
|
||||
ax.set_ylabel('Month', fontsize=12)
|
||||
ax.set_title('Fig.5: Annual Schedule Calendar Heatmap (Daily Demand)', fontsize=14, fontweight='bold')
|
||||
# ax.set_title('Fig.5: Annual Schedule Calendar Heatmap (Daily Demand)', fontsize=14, fontweight='bold')
|
||||
ax.grid(False)
|
||||
|
||||
plt.tight_layout()
|
||||
@@ -488,7 +488,7 @@ def fig6_gap_boxplot():
|
||||
ax2.legend(fontsize=10)
|
||||
style_axes(ax2)
|
||||
|
||||
plt.suptitle('Fig.6: Visit Interval Analysis', fontsize=14, fontweight='bold', y=1.02)
|
||||
# plt.suptitle('Fig.6: Visit Interval Analysis', fontsize=14, fontweight='bold', y=1.02)
|
||||
plt.tight_layout()
|
||||
plt.savefig(FIGURES_PATH / 'fig6_gap_boxplot.png', dpi=150, bbox_inches='tight')
|
||||
plt.close()
|
||||
@@ -548,7 +548,7 @@ def fig7_sensitivity():
|
||||
ax4.legend(fontsize=9)
|
||||
style_axes(ax4)
|
||||
|
||||
plt.suptitle('Fig.7: Sensitivity Analysis of Model Parameters', fontsize=14, fontweight='bold', y=1.02)
|
||||
# plt.suptitle('Fig.7: Sensitivity Analysis of Model Parameters', fontsize=14, fontweight='bold', y=1.02)
|
||||
plt.tight_layout()
|
||||
plt.savefig(FIGURES_PATH / 'fig7_sensitivity.png', dpi=150, bbox_inches='tight')
|
||||
plt.close()
|
||||
|
||||
Reference in New Issue
Block a user