hooking up interaction between table and waveform plot