Displaying 1 result from an estimated 1 matches for "m16b267f9".
2008 Jan 31
1
decrease amount of ticks on y axis in lattice levelplot
...nents.myY <- function(...) {
Y <- yscale.components.default(...)
Y$left$ticks$at <- pretty(1,n=10)
Y$left$labels$at <- pretty(1,n=10)
return(Y)
}
print(levelplot(my_matrix),cuts=100,yscale.components=yscale.components.myY)
My full code can be found on pastebin:
http://pastebin.com/m16b267f9
thanks in advance for any help on this,
Bram Kuijper