I didn't follow a specific diet to do this, but I did employ the concept of calorie cycling, or zig zagging calories. My swings were not as severe, with the lowest days being about 1000, the highest ones about 1800, and some moderate ones thrown in. This site
Calorie Calculator - Daily Caloric Needs will give you calorie suggestions for each day if you type in your weight, height, etc. and click on the 7-day-calorie cycle link. I found it was pretty effective.