Modify plot1.R to change date format to YYYY-MM-DD