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
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
2 matches
Mail list logo