added a plot sweep example