Re: [R] 2 images on one plot

2012-03-13 Thread Jim Lemon
On 03/13/2012 03:07 AM, Petr PIKAL wrote: Dear all with image I can plot only one set of values in one plot. Do somebody have any insight how to put those 2 matrices into one picture so that in one cell in image picture are both values from mat[1,1] and mat2[1,1]. mat-matrix(1:4, 2,2)

Re: [R] 2 images on one plot

2012-03-13 Thread Petr PIKAL
Thanks Jim For the first glance it seems to do what I want. I must go through it more thoroughly. Petr On 03/13/2012 03:07 AM, Petr PIKAL wrote: Dear all with image I can plot only one set of values in one plot. Do somebody have any insight how to put those 2 matrices into one

[R] 2 images on one plot

2012-03-12 Thread Petr PIKAL
Dear all with image I can plot only one set of values in one plot. Do somebody have any insight how to put those 2 matrices into one picture so that in one cell in image picture are both values from mat[1,1] and mat2[1,1]. mat-matrix(1:4, 2,2) mat2-matrix(4:1,2,2) x -1:2 y -1:2 image(x, y,