Skip to content

drawing a specific "plane" with scatterplot3d

4 messages · Duncan Murdoch, Uwe Ligges, Andras Farkas

#
On 31.07.2012 21:14, Duncan Murdoch wrote:
No, but the human brain may help to make it not too hard a task:

s3d <- scatterplot3d(x[z<6], y[z<6], z[z<6], zlim=range(z),
     color="darkgrey", col.axis="blue",col.grid="lightblue",
     main="scatterplot3d - 1", pch=20)
s3d$plane3d(6, 0, 0)
s3d$points3d(x[z>=6], y[z>=6], z[z>=6], pch=20)

Best,
Uwe ligges




You could do it using the rgl package; the commands
#
On 12-08-01 8:42 AM, Uwe Ligges wrote:
Nice solution.  Generally speaking scatterplot3d graphs reproduce better 
than rgl graphs (since they use the regular graphics devices), so it's 
worthwhile using them when you can.

Duncan Murdoch
#
On 01.08.2012 15:28, Duncan Murdoch wrote:
rgl is much better for data analysis, actually: quickly turn the stuff 
around and see what is going on. I'd prefer scatterplot3d only if static 
2D representation is relevant.

Uwe
26 days later