Hello to everybody, ... and sorry if the question has already been answered. I am dealing with complex numbers and need a way of plotting them on angular plots (2D and 3D). Is there a package that already manage this, or can somebody in this R-world who could help me with his skill ? Thanks to all. Have a nice week-end ! Olivier Eterradossi Ph.D., "PsychoSensory Properties of Materials" Team Research Center on Materials - Al?s School of Mines H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 - France
I'm not certain what you want, but have you considered the following: tst <- (rnorm(5)+1i*rnorm(5)) plot(Re(tst), Im(tst)) plot(Mod(tst), Arg(tst)) hope this helps. spencer graves Olivier ETERRADOSSI wrote:> Hello to everybody, > ... and sorry if the question has already been answered. > > I am dealing with complex numbers and need a way of plotting them on > angular plots (2D and 3D). Is there a package that already manage > this, or can somebody in this R-world who could help me with his skill ? > > Thanks to all. Have a nice week-end ! > > Olivier Eterradossi > Ph.D., "PsychoSensory Properties of Materials" Team > Research Center on Materials - Al?s School of Mines > H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 - France > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
kjetil brinchmann halvorsen
2003-Sep-26 14:16 UTC
[R] polar plotting of complex quantities
On 26 Sep 2003 at 15:22, Olivier ETERRADOSSI wrote: This is really in "An introduction to R". Does the following help?> test <- rnorm(100) + 1i*rnorm(100) > summary(test)Length Class Mode 100 complex complex> plot(test)# gives a plot of real versus imaginary parts. Kjetil Halvorsen> Hello to everybody, > ... and sorry if the question has already been answered. > > I am dealing with complex numbers and need a way of plotting them on > angular plots (2D and 3D). Is there a package that already manage this, > or can somebody in this R-world who could help me with his skill ? > > Thanks to all. Have a nice week-end ! > > Olivier Eterradossi > Ph.D., "PsychoSensory Properties of Materials" Team > Research Center on Materials - Al?s School of Mines > H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 - France > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help