display a waveform