Charge the capacitor.
Flip the switch.
Not sure exactly how this works.
If you can explain it, leave a comment.
FYI: Adjusting the viewing speed seems to affect the absolute amplitude and duration of the wave. I can't explain how/why. I can only assume it is a bug in the software.