Python script used in the graph for the x axis coordinates