The wave shown is traveling from left to right. The wavelength, λ, is the distance between two peaks. The frequency, f, is the number of full waves (from peak to peak) that pass by the dashed line in a given amount of time.