I am trying to add labels equal to the value in a levelplot. I believe that
panel may be the way to go but cannot understand the examples.

In the following example:

X,Y,Z
A,M,100
A,M,200
B,N,150
B,N,225

I would like to label each of the rectangles 100,200,150 and 225 and colour
according to the value

The colouring is achieved by

levelplot(z ~ x *y , data) but then I get stuck with the labels

Thanks

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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