The script opticplot_lapw produces XY plots from the output files of the optics package using the case.joint, case.epsilon, or case.sigmak. For a description of how to use the script for batch like execution call the script using
opticplot_lapw -hend:opticplot
begin:scfmonitor