0

I constructed this figure and with the following R code

enter image description here

 ggplot(data = sc, aes(x = x, y = y))
+ geom_polygon(aes(fill = fill)) 
+ geom_point(data = leeu, aes(x = x, y = y)) 
+ coord_cartesian(xlim = c(-1000, 1000), ylim = c(-100, 1200))

but I would like to add black lines as in the picture below.

enter image description here

The lines start at center of circle and pass through each black point. How can I construct the lines?

lmo
  • 37,904
  • 9
  • 56
  • 69
허규준
  • 13
  • 4
  • 2
    Please read the info about [how to ask a good question](http://stackoverflow.com/help/how-to-ask) and how to give a [reproducible example](http://stackoverflow.com/questions/5963269). This will make it much easier for others to help you. – zx8754 Mar 22 '16 at 07:16
  • Sounds like you might need to define a new geom, have a look at these instructions: http://docs.ggplot2.org/current/vignettes/extending-ggplot2.html – Ben Mar 22 '16 at 08:16

0 Answers0