[R] how to draw a spherical quadrant

Duncan Murdoch murdoch.duncan at gmail.com
Tue Aug 10 22:00:43 CEST 2010


On 10/08/2010 3:34 PM, [Ricardo Rodriguez] Your XEN ICT Team wrote:
> Thanks, Jim!
>
> Jim Lemon wrote:
>
> > You may find that the radial.plot function in the plotrix package will 
> > do what you want. I think you are looking at the polygon type of plot.
>
> It seems to me that I've a lot of things to learn only from plotrix 
> package! With the functions included in this package seems relatively 
> easy to get a planar projection of the spherical quarter holding all 
> power values. But, please, do you know if is there any package that 
> could be able to add some "3D effect" to the representation?
>
> For instance, look at this MATLAB example:
>
> http://www.matrixlab-examples.com/3D-plot-part3.html
>   


The rgl package can do general 3D plotting, but I don't know of anyone 
who has put together what you're looking for, so you'll need to compute 
the individual line segments or polygons yourself.

Duncan Murdoch



More information about the R-help mailing list