Re: [R] Lattice z colours when using formula class

2013-10-08 Thread Grace Garner
I've found one solution, which is to transform each matrix into a 1d array. This gives me the output I wanted. Grace On 08/10/2013 09:55, Grace Garner wrote: Dear all, I'm using Windows 7, R version 2.15.0 and lattice_0.20-6. I'm plotting observed data in lattice using wireframe(). I have 3

[R] Lattice z colours when using formula class

2013-10-08 Thread Grace Garner
Dear all, I'm using Windows 7, R version 2.15.0 and lattice_0.20-6. I'm plotting observed data in lattice using wireframe(). I have 3 matrices of observed values (Temp,Dist,Time) and I'm using the formula method (Temp~Dist*Time). How do I instruct wireframe to colour the plot surface based o