Skip to content
Prev 199302 / 398503 Next

Set colors in a PCA plot based on a gradient vector

On 11/06/2009 03:21 AM, Joel F?rstenberg-H?gg wrote:
library(plotrix)
text(...,col=color.scale(fieldTrial0809[idx,48],
  extremes=c("red","blue"))
As in so many other areas of life, beauty is in the eye of the beholder.

Jim