On 04/04/07, Sundar Dorai-Raj <[EMAIL PROTECTED]> wrote:
>
>
> Dan Bolser said the following on 4/4/2007 7:52 AM:
> > My question was thus;
> >
> > Given
> >
> > library(lattice)
> > my.m <- matrix(seq(1,100,1),nrow=10)
> > levelplot(my.m)
> >
> >
> > How can I add a diagonal line onto the re
Dan Bolser said the following on 4/4/2007 7:52 AM:
> My question was thus;
>
> Given
>
> library(lattice)
> my.m <- matrix(seq(1,100,1),nrow=10)
> levelplot(my.m)
>
>
> How can I add a diagonal line onto the resulting 'color square'?
>
> The answer I found was to hack the 'panel.levelp
My question was thus;
Given
library(lattice)
my.m <- matrix(seq(1,100,1),nrow=10)
levelplot(my.m)
How can I add a diagonal line onto the resulting 'color square'?
The answer I found was to hack the 'panel.levelplot' function. Here is the
diff between the old (panel.levplot) and the new (
On Apr 4, 2007, at 7:19 AM, Dan Bolser wrote:
> Hi,
>
> I am generating a beautiful plot with the 'levelplot' function over my
> square matrix of data. In order to help visualise the data I would
> like to draw a diagonal line on the matrix. Because the plot is
> actually a trellis object, I am ha
Hi,
I am generating a beautiful plot with the 'levelplot' function over my
square matrix of data. In order to help visualise the data I would
like to draw a diagonal line on the matrix. Because the plot is
actually a trellis object, I am having difficulty working out how to
do this. I have been re