redraw figure