Combined Band Structure and DOS

combined phonon band structure and DOS plot

If you want to produce figures like the above, Inkscape or some similar graphics package may be the best option. However, there is an experimental feature in c2x, and this page mostly serves to remind its author how it works. Being experimental, it is very subject to change, and suggestions for changes welcome. A version of c2x after 2.42a is needed.

$ c2x --merge_path --phbands_dos_eps_thz_dcross diamond/diamond.phonon diamond_bs/diamond.phonon out.eps

The output must be EPS, the DOS file is listed first, the bandstructure path second, and the usual DoS flags are permitted after the phbands_dos_eps argument. It should be able to read any formats which it would be able to plot as bandstructures or DoSs individually.

(Note that attempting to calculate a DoS from a band structure path is unlikely to be useful, as the sampling of the Brillouin zone will be very poor, being entirely along high-symmetry lines.)