[R] Remove wireframe outer box but keep ticks

Bigelow, Seth W -FS sbigelow at fs.fed.us
Sat Mar 24 01:30:07 CET 2012


Wow, that worked liked a charm. I will include the entire working example of how to remove the outer box without losing the ticks:

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=F,col=1),
 par.settings = list(axis.line = list(col = "transparent")),
 )

Many thanks!!!
--Seth




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.



More information about the R-help mailing list