Pause and resume the rendering of a figure

This example shows how the functions pause() and resume() of a figure work. Press the button Pause and try to move the graph (it won't). If you then click Resume, the graph can be manipulated by user interactions (keyboard, mouse and so on) again.