thresholds can be plotted at arbitrary positions in sample signal