Re: [R] Adding image to plotting area

2011-01-28 Thread Jim Lemon
On 01/28/2011 11:00 AM, Dario Strbenac wrote: Hello, I've drawn a black rectangle over the plotting area, and when I add an image() heatmap, it doesn't take up all the area, but is set inward from the black rectangle. Can anyone suggest how to make it stretch out to the entire area ? Minimal

[R] Adding image to plotting area

2011-01-27 Thread Dario Strbenac
Hello, I've drawn a black rectangle over the plotting area, and when I add an image() heatmap, it doesn't take up all the area, but is set inward from the black rectangle. Can anyone suggest how to make it stretch out to the entire area ? Minimal example : y <- matrix(runif(2000*20), nrow = 20