energy-diagram¶
Overview¶
Summary: Draw a state energy diagram directly from numeric values (no structure file, no ML/MM calculation).
mlmm energy-diagram only visualizes numbers you provide. It does not read PDB/XYZ structures and does not run thermochemistry (--thermo) or DFT (--dft) steps.
Minimal example¶
mlmm energy-diagram -i 0 12.5 4.3 -o energy.png
Output checklist¶
OUTPUT.(png|jpg|jpeg|svg|pdf)– the rendered energy diagram image
Common examples¶
List string input.
mlmm energy-diagram -i "[-205.1, -190.4, -198.7]" -o energy.png
X/Y labels.
mlmm energy-diagram -i 0 12.5 4.3 --label-x R TS P --label-y "ΔE (kcal/mol)" -o energy.png
Workflow¶
Collect values from
-i/--input(supports repeated flags, multiple values after one flag, and list-like strings).Parse all input values as floats and fail early if fewer than two values are provided.
Parse optional
--label-xvalues. If omitted, labels are auto-generated asS1,S2,…Validate label count (
--label-x) against value count, then render the diagram.Save the image to
-o/--outputand print the saved path.
CLI options¶
Option |
Description |
Default |
|---|---|---|
|
Numeric values (multiple args or list-like string). |
Required |
|
Output image path ( |
|
|
X-axis state labels. Count must match input value count. |
|
|
Y-axis label. |
|
See Also¶
Common Error Recipes – Symptom-first failure routing
Troubleshooting – Detailed troubleshooting guide
trj2fig – Plot profile from trajectory energies
all – End-to-end workflow with built-in energy diagram output