[R] 3D plot with coordinates
Alaios
alaios at yahoo.com
Wed Jun 21 11:23:39 CEST 2017
Thanks a lot for the reply.After looking at different parts of the code today I was able to start with simple 2D polar plots as the attached pdf file. In case the attachment is not visible I used the plot.polar function to create something like that.https://vijaybarve.files.wordpress.com/2013/04/polarplot-05.png
Now the idea now will be to put three of those (for X,Y,Z) in a 3d rotatable plane. I tried the rgl function but is not clear how I can use directly polar coordinates to draw the points at the three different planes.
Any ideas on that?
Thanks a lot.RegardsAlex
On Tuesday, June 20, 2017 9:49 PM, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:
package rgl.
Best,
Uwe Ligges
On 20.06.2017 21:29, Alaios via R-help wrote:
> HelloI have three x,y,z vectors (lets say each is set as rnorm(360)). So each one is having 360 elements each one correpsonding to angular coordinates (1 degree, 2 degrees, 3 degrees,.... 360 degrees) and I want to plot those on the xyz axes that have degress.
> Is there a function or library to look at R cran? The ideal will be that after plotting I will be able to rotate the shape.
> I would like to thank you in advance for your helpRegardsAlex
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XNoSink.pdf
Type: application/pdf
Size: 9099 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20170621/7fa22202/attachment.pdf>
More information about the R-help
mailing list