The my.symbols and ms.polygon functions in the TeachingDemos package may help.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Hemavathi Ramulu > Sent: Wednesday, September 02, 2009 11:05 PM > To: r-help@r-project.org > Subject: [R] How to do rotation for polygon? > > Hi everyone, > I have coding for repeating pentagon as below: > > plot(0:11,type="n") > for (i in 1:10 )polygon(rep(c(4,5,7,8,6)), i*c(.5,.3,.3,.5,.7), bor=2) > > which are increasing vertically. > > Now, I want to know how to rotate the pentagon, so that I will get > pattern > like flower. > Basicly, repeating pentagon in circle. > > Thanks alot for helping me to solve this problem. > -- > Hemavathi > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.