A question about interaction mode of scatterplot

Hi all,

I am thinking about including a module for offering better interaction about visualizing shape.deformation in a Principal Component (PC) scatterplot. Currently, the SlicerMorph module has functions to visualize shape deformation along each individual PC.

What I am thinking about is that I could draw a line in a PC scatterplot (as the picture below shows). Shape difference along this direction can then be visualized as mean shape deformation. I believe it is doable as long as I combine the visualization of individual PC

In order to do this, I may need to be able to draw a line in a scatterplot and get the coordinates of the two end points as well as the slope of this line. In this way, I can show the shape deformation by combining the deformation along two individual PCs.

Does Slicer include such functions that allow me to interact with the scatterplot?

Thank you very much!

Best,
Chi

The easiest way to draw a line is to add a scatter plot series with two points and set Interation modemove points.

1 Like

Thank you! This is very helpful!