regenerate plot