On 4/25/07, Waichler, Scott R <[EMAIL PROTECTED]> wrote:
> I am using levelplot() from lattice with grids that have unequal cell
> sizes.  This means that the boundary between two cells is not always
> half-way between nodes, as levelplot() assumes.  The result is that some
> cell sizes are rendered incorrectly, which can be painfully obvious if
> using relatively large cells.  Is there any work-around?  I am using the
> conditioning capability of lattice and therefore image() would not be a
> good way to go.

You might be able to use the tile plot in ggplot, which allows you to
specify the size of each tile (it assumes they're all the same size by
default).  Have a look at ?ggtile, or if you provide more info about
your data, I could provide a worked example.

Regards,

Hadley

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to