[R] How do I connect dots in the RGL package?

David Winsemius dwinsemius at comcast.net
Thu Jun 14 00:03:30 CEST 2012


On Jun 13, 2012, at 4:28 PM, Maaike_020 wrote:

>
> David Winsemius wrote
>>
>>
>>> open3d()
>> [1] 2
>>>  points3d(rnorm(10),rnorm(10),rnorm(10))
>>>
>>>  # First add standard axes
>>>  axes3d()
>>> lines3d( x=c(-1,1), y=c(-1,1), z=c(-1,1) ,col="red")
>>
>
> Thank you so much, it works! I have set a photo as a background by
>
> rgl.bg(sphere=TRUE, texture=system.file("textures/sunsleep.png",
> package="rgl"),  back="filled" )
>
> and now the lines barely have any color left (they turned really  
> dark). Do
> you happen to know how I prevent this from happening? Anyway many  
> thanks! Gr

And that is the only problem you see? The background is completely  
distracting the viewer from the data!!!! Yuck. This is a system for  
statistics. If you want to make movies go to Pixar.

-- 
David


David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list