Generating a waveform as in the Attached image

Top