Journal figures from across the sciences, each one self-contained script that
writes SVG, PDF, and PNG to out/ at its printed size, two journal columns
wide, in the style of a journal that would print it: Physical Review (aps,
178 mm) for the qubit and graphene, an engineering handbook of its own
(vintage_style.md) for the triode, Nature (nature, 183 mm) for the rest.
Every figure pairs a schematic with quantitative panels computed from the
model it illustrates. Data shown as measurements are
simulated with fixed seeds, so every run is byte-identical.
| Script | Field | Figure |
|---|---|---|
transmon_figure.py |
Superconducting qubits | device, circuit, potential, charge dispersion |
graphene_bands.py |
Condensed matter | honeycomb lattice, Dirac cones, bands, density of states |
microring_resonator.py |
Photonics | ring and bus waveguide, resonance comb, coupling regimes |
gaussian_beam.py |
Optics | a beam through three cross-sections in perspective, beam radius, transverse profiles |
optical_tweezers.py |
Biophysics | DNA between trapped beads, force-extension, trap calibration |
hodgkin_huxley.py |
Neuroscience | ion channels, spikes, conductances, firing threshold |
exoplanet_transit.py |
Astrophysics | transit geometry, light curve, transmission spectrum |
energy_landscape.py |
Chemistry | potential-energy surface, minimum-energy path, barriers |
climate_energy_balance.py |
Climate science | energy budget, ice-albedo hysteresis, warming after CO2 doubling |
production_network.py |
Economics | sector map under a chip shock, bullwhip effect, Hulten's theorem, hub suppliers |
vacuum_triode.py |
Electronics | cutaway of the electrode assembly, plate and mutual characteristics, in a vintage style |
They need VecView and a TeX installation; the transmon also needs VecWire, the
microring VecView 0.6 or later, the triode VecView 0.5 or later and no TeX, and
the Gaussian beam a VecView with PerspectiveCamera and no TeX.
gallery.py builds them all, runs the publication preflight on each SVG, and
writes out/gallery-report.json; --docs also refreshes the documentation
gallery.
python examples/gallery.py python examples/gallery.py --docs
Two scripts show workflows rather than figures, with core dependencies only:
publication_preflight.pybuilds a deliberately flawed figure and prints its preflight report.thesis_plots.pyis a figure collection: many figures from one registry, in one shared style (thesis_style.md).