Nice, that worked really well. Thanks Duncan

*Ben Caldwell*



On Sat, Mar 30, 2013 at 1:31 PM, Duncan Murdoch <murdoch.dun...@gmail.com>wrote:

> On 13-03-30 3:27 PM, Benjamin Caldwell wrote:
>
>> Dear r users,
>> I have two kinds of data I'm trying to represent in Rgl.
>>
>> The first are measurements of soils: heights, diameters, and centerpoints
>> of each. I would typically represent these in 3d space as cylinders or
>> cones.
>> The second are radar data of the area under the solids , xyz plus
>> amplitude
>> that I would like to represent as a point cloud.
>> Is there a currently implemented method to represent both solids and
>> points
>> in the same graph using Rgl?
>>
>
> Just plot both on the same graph.  The cylinder3d function produces an
> object which will be rendered as a cylinder (you need to call shade3d to
> render it).  There's no function for cones, but a cylinder with a very
> small radius at one end would be close.  You can't set the radius to zero
> currently:  it puts a bunch of points at the same position and gets
> confused.  Should probably fix that.
>
> Duncan Murdoch
>
>
>> If not I'll just turn the solids into a bunch of points. Thanks
>> Ben
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________**________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
>> PLEASE do read the posting guide http://www.R-project.org/**
>> posting-guide.html <http://www.R-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to