Matthieu Cornec wrote: > Hi, > > > I used the sweave package to get a 3D plot > > <<echo=F,fig=F>>= > wireframe(volcano, shade = TRUE, > aspect = c(61/87, 0.4), > light.source = c(10,0,10)) > @ > > but it gives an error message for the pdf file of this picture. > > Any one could help ? >
Try this. <<echo=FALSE,fig=TRUE>>= library(lattice) print(wireframe(volcano, shade = TRUE, aspect = c(61/87, 0.4), light.source = c(10,0,10))) @ > Thanks in advance, > > Matthieu > -- Kevin E. Thorpe Biostatistician/Trialist, Knowledge Translation Program Assistant Professor, Department of Public Health Sciences Faculty of Medicine, University of Toronto email: [EMAIL PROTECTED] Tel: 416.864.5776 Fax: 416.864.6057 ______________________________________________ [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.
