[R] Levelplot problem (lattice)

Deepayan Sarkar deepayan at stat.wisc.edu
Fri Feb 14 01:44:03 CET 2003


On Thursday 13 February 2003 06:08 pm, Christopher Adolph wrote:
> I'm working with a levelplot in which the x's are unequally spaced:
>
> x = {.8,.85,.9,.91,.92,.93,.94,.95,.96,.97,.98,.99,1}
>
> It seems this results in a "gap" in the plot in the vicinity of x = 8.75
> to 8.85 or so.  I assume this is because the rectangles are centered on
> the points in the dataset, whereas the unequal space means that some need
> to be "lopsided" for the levelplot to be gapless.
>
> Is there any easy way to fix this problem?

Probably not. There's something wrong with the code, but I won't have time to 
look at this for a few days.




More information about the R-help mailing list