I have data
x = [1,2,..., 341] (x are serial no) , y = [527,533,535,537,... ,1547]
I wanted to plot it in python such that the x and y axis should have same range of values and also have same interval between values.
I have plotted it using excel.
Here you can observe both x and y have range (0,1800) and interval between them is 200 and I have got exact square shape plot.can anybody suggest code to do same in python?
While plotting in excel I added 1600 to both list and hence I got expected result. I wanted to get same result with python code without adding any value. X and Y axis should have same range of values and same interval and plot should appear as square.
While I was trying to plot using matplotlib functionality it automatically chooses range and interval.
Please help me with this code, Thank you!
EDIT 1 :
I wanted the aspect ratio of xticks and yticks should 1:1. That means the grid formed due to ticks should be square shaped (In figure now it forming rectangular shape). In answer, please see fig. plotted by @Redox It has a square shape grid. I would be thankful if you could answer my question.

