Aquí está la traducción al inglés:
Hello everyone. I want to use a correlation circle chord chart to visualize the relationships between variables. I noticed that this chart is not available among the options offered by Stata, so I decided to program it myself. The current situation is the one in the image. : (I haven't programmed the rules for coloring the lines yet). However, my question is not about colors but about how to connect the vertices of the polygon.
Currently, I am using twoway function and asking for a line that passes through each pair of two vertex of the polygon, with the appropriate range. However, this has two problems. The first is that twoway function does not like drawing lines when the slope is very steep (i.e., vertical lines). The second problem is that the connecting lines are straight, and in most circle chord charts, the connecting lines are curved, as if they were absorbed towards (0,0).
I would like to know if you would use a better option than twoway function to connect the lines in a curved manner. I have not found a suitable one in the manual.
Hello everyone. I want to use a correlation circle chord chart to visualize the relationships between variables. I noticed that this chart is not available among the options offered by Stata, so I decided to program it myself. The current situation is the one in the image. : (I haven't programmed the rules for coloring the lines yet). However, my question is not about colors but about how to connect the vertices of the polygon.
Currently, I am using twoway function and asking for a line that passes through each pair of two vertex of the polygon, with the appropriate range. However, this has two problems. The first is that twoway function does not like drawing lines when the slope is very steep (i.e., vertical lines). The second problem is that the connecting lines are straight, and in most circle chord charts, the connecting lines are curved, as if they were absorbed towards (0,0).
I would like to know if you would use a better option than twoway function to connect the lines in a curved manner. I have not found a suitable one in the manual.
Comment