Hello Forum,
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, I made a perfect hexagon and some points which are deviated from each corner so it’s easy to visualize what I want.
What is the best way to re-scale data points for each hexagon, mathematically? 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. What do you suggest?
Thank you in advance,
copy of data points are attached,
datapoints_hexagons.csv (437 Bytes)





