Skip to content
Prev 43504 / 398513 Next

lines in 3d-cloud plot (lattice)

Hi

Staying with Trellis graphics, and depending on what sort of lines you 
want to add, you could do something similar to persp() example # 2 using 
cloud() by writing your own panel.3d.cloud() function, which calls 
panel.3dscatter() and then does some further drawing.  This is an 
analogue to "the sequence plot(), followed by points() or
lines() in the base plotting functions", all done within a lattice panel 
function.  From a quick look at help(panel.cloud) it looks like the 
required transformation information is available via something like 
ltransform3dto3d().

Paul
Tom Blackwell wrote: