[R] polar plotting of complex quantities

Spencer Graves spencer.graves at pdf.com
Fri Sep 26 16:12:55 CEST 2003


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




More information about the R-help mailing list