Store x and y units in csv file.