peakdet wrapper

fixed graph and results display.

#16683064947992