Re: [R] add points to 3D plot using p3d {onion}

2010-01-28 Thread Uwe Ligges
On 27.01.2010 17:50, Viechtbauer Wolfgang (STAT) wrote: Just as an aside, the scatterplot3d package does things like this very cleverly. Essentially, when you create a plot with scatterplot3d, the function actually returns functions with values set so that points3d(), for example, knows the

Re: [R] add points to 3D plot using p3d {onion}

2010-01-27 Thread Robin Hankin
Hello Bradley I don't think there's an easy way to do what you want because the viewing angles are internal to p3d(). Frankly p3d() tries to be all things to all men (the arguments are a mess) and inevitably isn't as flexible as one might wish. I take it you want to do this: data(bunny)

Re: [R] add points to 3D plot using p3d {onion}

2010-01-27 Thread Viechtbauer Wolfgang (STAT)
) Original Message From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Robin Hankin Sent: Wednesday, January 27, 2010 11:17 To: Bradley Christoffersen Cc: r-help@r-project.org Subject: Re: [R] add points to 3D plot using p3d {onion} Hello Bradley I don't

[R] add points to 3D plot using p3d {onion}

2010-01-26 Thread Bradley Christoffersen
Hi, Can anyone guide me as to how I can add points to a p3d() plot from the onion package?  I want to plot points with different colors on the same 3D plot.  Perhaps I can do this without adding points but somehow directing the 'h' parameter to give different color to points based on a factor I