macro to save fits plots