Re: [R] Draw Polygon with a Circular Side

2008-05-20 Thread ermimi
Thank you very much Jim for you help!!Your help was my need!! I have create this function to draw a polygon with a circular side DrawPortion<-function(init,finish,length_){ plot(0,xlim=c(-10,10),ylim=c(-10,10),xlab="",ylab="",type="n",axes=TRUE) polygon(c(0,length_*cos(s

Re: [R] Draw Polygon with a Circular Side

2008-05-20 Thread Jim Lemon
ermimi wrote: Hello Friends!!! I would want draw a circular histogram, and I would like draw a polygon with a circular side. This is easy if I use the functions polygon and arc, but I want that the polygon with a circular side have background colour. The polygon created with function polygon can

[R] Draw Polygon with a Circular Side

2008-05-19 Thread ermimi
Hello Friends!!! I would want draw a circular histogram, and I would like draw a polygon with a circular side. This is easy if I use the functions polygon and arc, but I want that the polygon with a circular side have background colour. The polygon created with function polygon can have backgroun