Redraw analysis plot when error is set