Add captured waveform to the plot
Now the graph will have two waveforms: Waveform and Waveform Live The waveform Live will update continuously. The captured one will stay the same unless Capture button is pressed. The captured waveform should be plotted with dashed line.