Pregunta

I want to draw a polar graph in R.

I found plotrix, which has polar.plot, but I'm open to any other solutions.

It plots a polygon just fine, even though I have a few thousand points, so great!

My question: how can I change the start value of the radial axis? ie, how to do ylim in polar.plot?

¿Fue útil?

Solución

Try using ggplot2 - it has a coord_polar() command to make polar plots

Here's the official Documentation: http://docs.ggplot2.org/current/coord_polar.html

And a simple tutorial to work off of: http://learnr.wordpress.com/2010/08/16/consultants-chart-in-ggplot2/

Otros consejos

I found a solution for polar.plot: option radial.lim.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top