plotting the DFT of input signals