search for: pdffn

Displaying 1 result from an estimated 1 matches for "pdffn".

Did you mean: pdffp
2011 Dec 22
1
levelplot + cut() for custom color palette
...black In other words, I want to color any cell with the level of 100 (or greater than 80) with black, and any cell with a level between 0 and 80 with a color between white and red. Here is my code: ----------------- #! /foo/bar/bin/Rscript --vanilla args <- commandArgs(TRUE) dfFn <- args[1] pdfFn <- args[2] df <- read.table(dfFn, col.names=c("x", "y", "level")) df$level <- round(df$l...