============================================================ FIGURE 2 — Timeline of…
- User
============================================================
FIGURE 2 — Timeline of Computational Methods 1971–2025
============================================================
fig, ax = plt.subplots(figsize=(20, 9)) ax.set_xlim(1968, 2028) ax.set_ylim(-4.5, 4.5) ax.axis('off') fig.patch.set_facecolor('white')
── Timeline backbone ────────────────────────────────────────
ax.annotate('', xy=(2027, 0), xytext=(1969, 0), arrowprops=dict(arrowstyle='->', color='#1c2833', lw=2.5))
Decade ticks
for yr in range(1970, 2030, 5): ax.plot([yr, yr], [-0.2, 0.2], color='#555555', lw=1.2) ax.text(yr, -0.55, str(yr), ha='center', va='top', fontsize=8.5, color='#555555')
ax.text(2027.5, 0, 'Year', ha='left', va='center', fontsize=10, color='#1c2833', fontweight='bold')
── Era Bands ────────────────────────────────────────────────
eras = [ (1971, 1989, 'Era I\nFoundational\nEmpirical Methods', '#d6eaf8'), (1990, 2004, 'Era II\nNumerical &\nProbabilistic', '#d5f5e3'), (2005, 2015, 'Era III\nUpdated &\nCalibrated', '#fdebd0'), (2016, 2025, 'Era IV\nML & AI\nRevolution', '#f9ebea'), ] for x1, x2, label, color in eras: ax.axvspan(x1, x2, ymin=0.48, ymax=0.98, alpha=0.35, color=color, zorder=0) ax.text((x1+x2)/2, 3.9, label, ha='center', va='center', fontsize=8.5, color='#1c2833', fontweight='bold', multialignment='center', bbox=dict(boxstyle='round,pad=0.3', facecolor=color, edgecolor='#aaaaaa', alpha=0.8))
── Events Data ──────────────────────────────────────────────
(year, label, tier, direction, y_offset)
direction: +1 = above, -1 = below
events = [ # Tier I — Empirical (Blue) (1971, 'Seed & Idriss (1971)\nCSR-CRR Framework\nSPT Simplified Procedure', 'tier1', +1, 1.0), (1978, 'Iwasaki et al. (1978)\nLiquefaction Potential\nIndex (LPI)', 'tier1', -1, 1.0), (1985, 'Seed et al. (1985)\nCRR vs (N1)60 Curves\nFines Correction Charts', 'tier1', +1, 1.6), (1986, 'Liao & Whitman (1986)\nOverburden Correction\nFactor CN', 'tier1', -1, 1.6), (1998, 'Robertson & Wride\n(1998) CPT-Based\nProcedure', 'tier1', +1, 1.0), (2000, 'Andrus & Stokoe\n(2000) Vs-Based\nProcedure', 'tier1', -1, 1.0), (2001, 'Youd et al. (2001)\nNCEER Consensus\nProcedure', 'tier1', +1, 2.4), (2004, 'Cetin et al. (2004)\nProbabilistic SPT\nFramework', 'tier1', -1, 2.2), (2006, 'Idriss & Boulanger\n(2006) Updated\nSemi-Empirical', 'tier1', +1, 1.6), (2014, 'Boulanger & Idriss\n(2014) Updated SPT\n& CPT Procedures', 'tier1', -1, 1.6),
# Tier II — Laboratory (Green) (1972, 'Hardin & Drnevich\n(1972) Gmax Equation\nDynamic Properties', 'tier2', -1, 2.5), (1975, 'Seed et al. (1975)\nArcsin Pore Pressure\nGeneration Model', 'tier2', +1, 3.0), (1982, 'Dobry et al. (1982)\nCyclic Strain Method\nPore Pressure', 'tier2', -1, 2.5), (1991, 'Vucetic & Dobry\n(1991) G/Gmax\n& Damping Curves', 'tier2', +1, 2.5), (2007, 'Sitharam & Govindaraju\n(2007) Hyperbolic\nPore Pressure Model', 'tier2', -1, 2.8), (2009, 'Sitharam et al. (2009)\nLogarithmic Pore\nPressure Model', 'tier2', +1, 3.0), (2012, 'Maheshwari et al.\n(2012) Dynamic Prop.\nSolani Sand', 'tier2', -1, 2.2), (2020, 'Kumar et al. (2020)\nCyclic Triaxial\nBrahmaputra Sand', 'tier2', +1, 2.0), # Tier III — Numerical (Red) (1972, 'Schnabel et al.\n(1972) SHAKE\n1D Ground Response', 'tier3', +1, 4.0), (2001, 'Hashash & Park\n(2001) DEEPSOIL\nNonlinear 1D', 'tier3', -1, 3.5), (2017, 'Boulanger &\nZiotopoulou (2017)\nPM4Sand Model', 'tier3', +1, 3.8), # Tier IV — ML (Gold/Brown) (1994, 'Goh (1994)\nFirst ANN for\nLiquefaction', 'tier4', -1, 3.8), (2007, 'Samui (2007)\nSVM Liquefaction\nPrediction', 'tier4', +1, 4.2), (2014, 'Mittal et al. (2014)\nANN Chandigarh\nLiquefaction', 'tier4', +1, 4.8), (2019, 'Raissi et al. (2019)\nPhysics-Informed\nNeural Networks', 'tier4', -1, 4.0), (2021, 'Zhang et al. (2021)\nML Comparative\nStudy RF/XGBoost', 'tier4', +1, 3.5), (2023, 'Jas & Dodagoudar\n(2023) Deep Learning\nGRU/LSTM', 'tier4', -1, 3.2),]
color_map = { 'tier1': COLORS['tier1'], 'tier2': COLORS['tier2'], 'tier3': COLORS['tier3'], 'tier4': COLORS['tier4'], } marker_map = {'tier1': 'o', 'tier2': 's', 'tier3': '^', 'tier4': 'D'}
for (year, label, tier, direction, y_off) in events: col = color_map[tier] mrk = marker_map[tier] y_end = direction * y_off y_text = y_end + direction * 0.08
# Stem ax.plot([year, year], [0, y_end * 0.85], color=col, lw=1.0, alpha=0.6, linestyle='--', zorder=1) # Marker ax.scatter(year, 0, color=col, s=55, marker=mrk, zorder=5, edgecolors='white', linewidths=0.8) # Text box ax.text(year, y_text, label, ha='center', va='bottom' if direction > 0 else 'top', fontsize=6.8, color='#1c2833', multialignment='center', bbox=dict(boxstyle='round,pad=0.25', facecolor=matplotlib.colors.to_rgba(col, 0.12), edgecolor=col, linewidth=0.8, alpha=0.9))── Legend ───────────────────────────────────────────────────
legend_elements = [ mlines.Line2D([0], [0], marker='o', color='w', markerfacecolor=COLORS['tier1'], markersize=9, label='Tier I — Empirical Field Methods'), mlines.Line2D([0], [0], marker='s', color='w', markerfacecolor=COLORS['tier2'], markersize=9, label='Tier II — Laboratory Characterization'), mlines.Line2D([0], [0], marker='^', color='w', markerfacecolor=COLORS['tier3'], markersize=9, label='Tier III — Numerical Simulation'), mlines.Line2D([0], [0], marker='D', color='w', markerfacecolor=COLORS['tier4'], markersize=9, label='Tier IV — Machine Learning & AI'), ] ax.legend(handles=legend_elements, loc='lower center', ncol=4, fontsize=9, bbox_to_anchor=(0.5, -0.28), framealpha=0.95, edgecolor='#aaaaaa')
ax.text(9.5, -4.2, 'Fig. 2 Timeline of key milestones in the development of computational methods' ' for seismic liquefaction assessment (1971–2025)', ha='center', va='center', fontsize=10, style='italic', color='#333333', transform=ax.transData)
plt.tight_layout() plt.savefig('Figure2_Timeline.pdf', dpi=300, bbox_inches='tight', facecolor='white') plt.savefig('Figure2_Timeline.png', dpi=300, bbox_inches='tight', facecolor='white') print("✅ Figure 2 saved.") plt.show()
- Assistant
I've created Figure 2 as a React web application. Here's what was implemented:
Features:
- Horizontal timeline backbone from 1969 to 2027 with year ticks every 5 years
- Four era bands (Era I-IV) with colored backgrounds showing different periods
- 28 events plotted above and below the timeline with:
- Tier I (Blue circles) - Empirical Field Methods
- Tier II (Green squares) - Laboratory Characterization
- Tier III (Orange triangles) - Numerical Simulation
- Tier IV (Purple diamonds) - Machine Learning & AI
- Dashed stem lines connecting events to the timeline
- Color-coded text boxes for each event with author/year and method name
- Legend at the bottom
- Figure caption
Download Button:
- Click "Download as JPG" to export the figure as a high-quality JPEG file
- File saves as
Figure2_Timeline.jpg
Layout:
- Wide SVG canvas (2200 x 900) for readable spacing
- Scrollable on smaller screens
- Title and description included
Build completed successfully. The app is ready to use.
Files built:
src/App.tsx,index.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.