pickle domains and dates and save plot in multiple formats