Catch the date form file *.castep and draw the line graph.