Yes, too bad I didn't realize that it's so simple like that! Thanks...

On Sat, Jan 8, 2011 at 12:45 PM, David Winsemius <dwinsemius@comcast.net>wrote:

>
> On Jan 8, 2011, at 11:21 AM, Gang Chen wrote:
>
>  Thanks a lot for the quick help! How to project the scatter plot with the
>> diagonal line to the three planes with scatterplot3d? I could not find
>> such
>> an example demonstrating that in the vignette.
>>
>
> I'm puzzled. If you have (x1, y1, z1) and (x2, y2, z2) as starting and
> ending points, Deducing the three projected segments , i.e. the starting and
> ending points of the projections on the xy, xz and yz planes (z = 0, y=0,
> and x= 0 respectively) would seem to be trivial. So maybe I just don't
> understand.  What part is offering difficulty? Please show your code so far.
>
> --
> David.
>
>>
>> Thanks,
>> Gang
>>
>> 2011/1/8 Uwe Ligges <ligges@statistik.tu-dortmund.de>
>>
>>
>>>
>>> On 08.01.2011 16:38, Gang Chen wrote:
>>>
>>>  I want to create some 3D scatter plot with a diagonal line. In addition,
>>>> I'd
>>>> like to have those points plus the diagonal line projected to those
>>>> three
>>>> planes (xy, yz and xz). Which package can I use to achieve this,
>>>> scatterplot3d or something else?
>>>>
>>>>
>>> Yes, scatterplot3d, rgl, and maybe also others.
>>>
>>> For looking at it interactively I always prefer rgl, for statical
>>> representations (e.g. printing) scatterplot3d can be used with all known
>>> R
>>> devices.
>>>
>>> Best,
>>> Uwe Ligges
>>>
>>

	[[alternative HTML version deleted]]

