Draw a waveform