[R] Levelplot problem

Christopher Adolph cadolph at fas.harvard.edu
Fri Feb 14 01:09:05 CET 2003


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?

Thanks,
Chris




More information about the R-help mailing list