[R] Plot polygon in 3D with rgl

2010-05-09 Thread Remko Duursma
Dear R-helpers, an rgl-ers in particular, what is the easiest way to plot a section of a plane in 3D, that is given by the xyz coordinates of the outline? Suppose I have a polygon - which I know for sure is a set of coordinates on the same plane. One method I found is to use surf.tri from the

Re: [R] Plot polygon in 3D with rgl

2010-05-09 Thread Duncan Murdoch
On 09/05/2010 6:41 PM, Remko Duursma wrote: Dear R-helpers, an rgl-ers in particular, what is the easiest way to plot a section of a plane in 3D, that is given by the xyz coordinates of the outline? Suppose I have a polygon - which I know for sure is a set of coordinates on the same plane.

Re: [R] Plot polygon in 3D with rgl

2010-05-09 Thread Remko Duursma
Duncan, thanks for the tip! I actually saw this 2D function but had no idea how to use it in 3D. Works great. Remko - Remko Duursma Research Lecturer Centre for Plants and the Environment University of Western Sydney Hawkesbury Campus Richmond