Generating All Paper Figures

Interactive Explorer 1

Explore key concepts interactively

Parameters

Quick Check

Key concept question for section 1?

Option A

Option B

Option C

Common Mistake: Common Mistake in Section 1

Mistake:

Overlooking a critical implementation detail.

Correction:

Always verify results against known benchmarks and theoretical predictions.

Key Term 1

Core concept from section 1 of chapter 52.

Definition:

Programmatic Figure Generation

Generate all paper figures from code:

def generate_ber_figure(results, save_path):
    fig, ax = plt.subplots(figsize=(3.5, 2.5))
    # IEEE double-column width: 3.5 inches
    ...
    fig.savefig(save_path, dpi=300, bbox_inches='tight')

Definition:

Reproducibility Checklist

Before submission:

  • [ ] Code committed with tag
  • [ ] Dependencies pinned (requirements.txt)
  • [ ] Seeds fixed and documented
  • [ ] Data version recorded (DVC)
  • [ ] All figures generated from scripts
  • [ ] Instructions to reproduce all results

Definition:

Code Packaging

Package research code for distribution:

project/
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ src/project/
β”œβ”€β”€ tests/
β”œβ”€β”€ configs/
β”œβ”€β”€ scripts/generate_figures.py
└── README.md

Definition:

Archiving with Zenodo

Zenodo provides a DOI for your code/data:

  1. Link GitHub repo to Zenodo
  2. Create a release
  3. Zenodo automatically archives and assigns DOI