I have thousand of data in X and Y. I am trying to plot an interpolation graph but to start plotting it need to began from negative value.
x = [15000,14000,13000,12000,11000,0,-1000,-10000,-15000]
y = [1,1,1,1,1,0,-1,-1,-1]
How can i make it into this format
x = [-15000,-10000,-1000,0,11000,12000,13000,14000,15000]
y = [-1,-1,-1,0,1,1,1,1,1]