5.10.1.1.1.8. statsmodels.sandbox.pca.Pca.plot2d

Pca.plot2d(ix=0, iy=1, clf=True)[source]

Generates a 2-dimensional plot of the data set and principle components using matplotlib.

ix specifies which p-dimension to put on the x-axis of the plot and iy specifies which to put on the y-axis (0-indexed)