[R] Levelplots with non-continuous x-axis breaks

Jim Lemon jim at bitwrit.com.au
Sat Jan 11 23:53:28 CET 2014


On 01/11/2014 09:27 AM, Pachapep wrote:
>
> ok, I think I got it. Here is the code I used. Thanks for the help guys..
>

Hi Pachapep,
You can also do it like this:

library(plotrix)
plot(1:10)
# show color.scale(1:50,c(0,1,1),c(0,1,0),c(1,1,0),)
gradient.rect(1,4,10,6,c(0,1,1),c(0,1,0),c(1,1,0))

Jim




More information about the R-help mailing list