changed code to add the xlab=datetime to two plots