I hope this is the right place that I am posting this question. If not please feel free to comment so that I find the right place. I have 4 sets of points that represent points on hexagons. My data points are such that when I plot them , hexagons are next to each other, but I want to plot each hexagon on top of each other (stack them on top of each other) , So that I compare them and do further analysis.
Image 1 shows the data points
Image 2 shows the resulting plots
But this is not what I want, I want all points to be rescaled such that they are on top of each other something like following image :
This is just an example. What is the best way to re-scale data points for each hexagon, mathematically? I don't want a code. I believe there must be a way to scale all data point to a reference data set (for instance a perfect hexagon).
I was thinking to normalize my points using feature scaling formula (x'=X-Xmin/Xmax-Xmin), but it will only change the scale of the coordinates and the hexagons will still be next to each other. Also I was thinking to find equation of lines and plot the lines and lengths. I feel like there is a way by defining a fixed hexagon and find deviation of each point of my data from that fixed hexagon, or maybe there is some other formula.
Thank you in advance,
here is a copy of data points if you need,
Number x_1st y_1st x_2nd y_2nd x_3rd y_3rd x_4th y_4th
1 655.333 17.167 654.5 27.5 652 36.833 649.812 47.5
2 649.333 9.833 648.167 21.167 646 30.125 643.812 39.438
3 642.167 13.667 638.5 23.833 636.438 32.812 634.75 43.688
4 639.167 23 636.5 32.5 635 43.438 632.625 52.75
5 646.167 29.833 644 39.167 641.438 50 638.25 59.062
6 653.833 27.5 652.167 36.167 650 47.25 648.125 57.75
7 655.333 17.167 654.5 27.5 652 36.833 649.812 47.5