[R] Adding points to wireframe

Pierre-Luc Brunelle pierre-luc.brunelle at polymtl.ca
Fri Nov 18 22:36:11 CET 2005


Hi,

I am using function wireframe from package lattice to draw a 3D surface. 
I would like to add a few points on the surface. I read in a post from 
Deepayan Sarkar that "To do this in a wireframe plot you would probably 
use the panel function panel.3dscatter". Does someone have an example? 
When calling panel.3dscatter with only x, y and z arguments I get 
"argument "xlim.scaled" is missing, with no default". I do not know what 
value I should give to xlim.scaled.

Ragards,

Pierre-Luc




More information about the R-help mailing list