modified sketch for easy input of frequency sweep parameters