Next: plot threshold at arbitrary positions in sample figure for modify_waveform