-- Replotting the graphs on compare where window is resized