Hello all;

Let's say we have a block of 3D data belonging to cubic cells,
 and increasing indexes are ordered
 x: from west to east
 y: from north to south
 z: from top to bottom

---
nx <- 25
ny <- 12
nz <- 4
my.array <- array(NA,dim=c(nx,ny,nz))

for(z in 1:nz){
 my.array[,,z] <- runif(nx*ny,z-1,z)
}
---
Is there a way to relatively easy plot sub-blocks of this 3d array in R?
This would include simultaneous plots of several layers one over the
other, and keeping the gaps between them if they are
non-contiguous. Also this would include transversal cuts of thickness 1 or
>1, and from a selected point of view.

I mean as a render in which lateral planes (xz and yz planes) are treated
similarly to xy planes.

Thanks and best regards,
Javier
---

______________________________________________
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