|
From: Hans-Bernhard B. <br...@ph...> - 2005-04-22 13:24:31
|
Hamish Allan wrote: > Using PCA I can determine the vectors of the principle components. Then > I want to plot lines for those vectors, which should bisect one another > on the diagram. First question: I'd like those lines to have arrowheads > on each end (so that they look like axes). How can I achieve this? "help arrow" > Second question: I can create a second 2D dataset which is the > projection of the original datapoints onto the principle component, so > that they all lie on the line of the principle component. I would like > to draw dotted or dashed lines between each original datapoint and its > new position. It's not clear to me how I would best achieve this. Can > anyone give me any advice? Doing it with a second dataset would not be a good idea --- you need all the data in *one* dataset, to make this plot. See "help vectors" and the documentation about extended "using" specifications. |