Displaying 2 results from an estimated 2 matches for "tp3693014p3693014".
2012 Nov 22
1
[lattice] Increase distance between tick labels and ticks in wireframe plot ("pad")
...le:
## Minimal example
x <- y <- z <- c(1,2,3)
df <- data.frame(x, y, z)
wireframe(z ~ x*y, df, scales = list(arrows = FALSE, col = "black", font = 1, tck=0.6))
I tried the axis.components option (http://r.789695.n4.nabble.com/Lattice-distance-of-tick-labels-from-axis-line-tp3693014p3693014.html). This works for xyplot, but *not* for wireframe:
xyplot(z ~ x, df, scales = list(arrows = FALSE, col = "black", font = 1, tck=0.6), par.settings=list(axis.components=list(left=list(pad1=2))))
wireframe(z ~ x*y, df, scales = list(arrows = FALSE, col = "black", font = 1,...
2011 Jul 25
2
Lattice: distance of tick labels from axis line
...ocumentation but could not find how to change this. This
seems to be easy to do in basic plots with "at=c(value1, value2, value3)" .
Is there some equivalent in lattice? Thanks.
--
View this message in context: http://r.789695.n4.nabble.com/Lattice-distance-of-tick-labels-from-axis-line-tp3693014p3693014.html
Sent from the R help mailing list archive at Nabble.com.