tweaks to imdiagnostics allowing a frequency axis, unfortunately with
highly inflexible labels