plot frequencies vs time