Displaying 1 result from an estimated 1 matches for "z_lab".
Did you mean:
zlab
2011 Mar 03
1
lattice: How to increase space between ticks and labels of z-axis?
Dear expeRts,
How can I increase the space between the ticks and the labels in the wireframe plot
below? I tried some variations with par.settings=list(..) but it just didn't work.
Many thanks,
Marius
library(lattice)
u <- seq(0, 1, length.out=20)
grid <- expand.grid(x=u, y=u)
z <- apply(grid, 1, function(x) 1/(x[1]*x[2]+0.0001))
wireframe(z~grid[,1]*grid[,2], aspect=1,