Re: [R] showing values in levelplot or image

2009-04-05 Thread jim holtman
I have used ltext in a panel function like in the code segment below: print(levelplot(reslot ~ aisle + quad, reslot.df, col.regions=topo.colors(max(quad.POG$values)), panel=function(x, y, z, ...){ panel.levelplot(x, y, z, ...) panel.abline(v=seq(1.5, by=1, length=length(ais

[R] showing values in levelplot or image

2009-04-05 Thread Ken Wilson
I am trying to visualize a 2D matrix, with some auxiliary labels associated with each rectangle in the chart. The image command and levelplot in the lattice package map data to colors, but I couldn't find any option to specify values I want to show. Is there an easy way to do this? Thanks, Ken