search for: heatlin

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

Did you mean: heatin
2009 Oct 29
1
How to create a "heatline" -- heatmap in one dimension?
...y <- abs(40-x) my.col <- heat.colors(10) par(pin=c(par("pin")[1],.05)) image(x, 1, as.matrix(y), ylim=c(1,1), col=my.col, xaxt="n",xlab="", yaxt="n", ylab="", fg="transparent") I will be generating several of these "heatlines" to plot on a 2-D grid, which will contain other information on it as well, and so also need to be able to add the lines to an existing plot. I've read the doc for stripplot(), contour(), image(), and checked the R Graph Gallery (http://addictedtor.free.fr/graphiques/) to try to find...