Dear expeRts,
below is a minimal example from the thread
http://www.mail-archive.com/[email protected]/msg48098.html
about how to remove the outer box / frame of a wireframe plot.
As one can see, the suggested code does remove the box (by making it
transparent),
however, it also removes the axis tickmarks. Is there a simple workaround?
Cheers,
Marius
test = data.frame(expand.grid(c(1:10), c(1:10)))
z = test[,1] + test[,2]
test = cbind(test, z)
names(test) = c("x", "y", "z")
require(lattice)
wireframe(z ~ x*y, data = test, scales = list(arrows = FALSE))
## removes the outer box / frame (as described in
## http://www.mail-archive.com/[email protected]/msg48098.html),
## but also removes the tick marks...
wireframe(z ~ x*y, data = test, scales = list(arrows = FALSE),
par.settings = list(axis.line = list(col = "transparent")))
______________________________________________
[email protected] 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.