I have a 3D scatterplot and would like to have an accompanying 2D plot of the same data, which can be brushed over. The 2D plot should be the projection of the data from the current viewpoint - the two plots should look almost identical. So basically, I need the 3D rotation matrix that takes the data to the current camera position. The camera eye, which I got by computing
gives some 3D vector, but it’s not at all clear how to get the rotation angles.