Hrm. I have to admit, I don't entirely understand how to use the scaling, and that seems like a lot of unneeded extra code. It is what it is, though. The documentation about scaling is somewhat obtuse. Do you have a clear explanation of what it is and how to use it in this instance? Perhaps even a generic function that does surface plots with points?
Deepayan Sarkar wrote: > > > > You are missing the part (in the second message) where you need to > rescale df$Var[123] to match the scale of x, y, z (which have been > already rescaled). > > > -- View this message in context: http://www.nabble.com/adding-points-to-a-wireframe-tp25034981p25123887.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.