Make the waveplot example work again