How do you color code the variables in a biplot?
이전 댓글 표시
I'm trying to color code select variables/loadings in a 3D biplot attained from running a PCA, so that those variables most associated with say component 1 are in one color, component 2 in another, etc. I know how to label them, but trying to use the brush/select data option in the plot menu doesn't seem to work for this type of plot.
Searching for an answer someone posted a similar question, but their solution was to overlay three different plots, each color coded, and that's definitely not the solution to my problem. If it's a matter of an input function I'm unaware of, or if someone has a PCA plotter GUI or function that can help with this, I'd greatly appreciate it!
댓글 수: 1
dpb
2013년 7월 24일
Why doesn't the three overlaid satisfy? It'd be my first/simplest route.
Alternatively, find the handles of the various objects associated w/ each variable and set() their color properties as desired.
I've never used biplot (and really don't even know what one is) but probably one could wrap the above in a function to hide the complexity if do this frequently.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!