Continuous-frequency weak electric field measurement with Rydberg atoms