Question

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?

Était-ce utile?

La solution

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/

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top