[R] Stretch the y axis in levelplot

2013-03-12 Thread Dieter Wirz
Hi - levelplot (Package lattice) assumes, that the used Matrix is more or less quadratic. But if the Matrix is e.g. 5x400 you get only a bar require(lattice) # create a nice matrix dat - as.data.frame(matrix(runif(2000),ncol=5)) dat$V1 - c(sin(1:400/80)) dat$V2 - c(sin(1:400/75)) dat$V3 -

Re: [R] Stretch the y axis in levelplot

2013-03-12 Thread Peter Ehlers
On 2013-03-12 13:27, Dieter Wirz wrote: Hi - levelplot (Package lattice) assumes, that the used Matrix is more or less quadratic. But if the Matrix is e.g. 5x400 you get only a bar require(lattice) # create a nice matrix dat - as.data.frame(matrix(runif(2000),ncol=5)) dat$V1 -