search for: circle

Displaying 20 results from an estimated 1736 matches for "circle".

2017 Dec 31
1
Draw Overlapping Circles with shaded tracks
...all of you. I just have one more thing. Is there a way to fill the borders with small dots, may be different sizes. I tried to do it, but it looks ugly. Here what I tried: library(plotrix) plot(0:10, 0:10, type="n",axes=FALSE,xlab="",ylab="") #### 0:5, draw.circle(4,5,radius=3,border="#ff0000aa", lwd=75) draw.circle(4,5,radius=2.50,border="red",lty=3,lwd=3) draw.circle(4,5,radius=2.55,border="red",lty=3,lwd=3) draw.circle(4,5,radius=2.60,border="red",lty=3,lwd=3) draw.circle(4,5,radius=2.65,border="red",lty=...
2017 Dec 31
2
Draw Overlapping Circles with shaded tracks
That code nees the plotrix package: library(plotrix) pdf("circles.pdf") plot(0:10,type="n",axes=FALSE,xlab="",ylab="") draw.circle(4,5,radius=3,border="#ff0000aa",lwd=10) draw.circle(6,5,radius=3,border="#0000ffaa",lwd=10) dev.off() On Friday, December 29, 2017, 6:06:32 PM EST, Jim Lemon <drjimle...
2017 Dec 31
0
Draw Overlapping Circles with shaded tracks
...5, lwd=10, col=NA, border=rgb(red = 0, green = 1, blue=0, alpha = 0.5)) (Without the graphic example, it is difficult to know what tit was supposed to do !) Marc Le 31/12/2017 ? 14:10, John Kane via R-help a ?crit?: > That code nees the plotrix package: > library(plotrix) > pdf("circles.pdf") > plot(0:10,type="n",axes=FALSE,xlab="",ylab="") > draw.circle(4,5,radius=3,border="#ff0000aa",lwd=10) > draw.circle(6,5,radius=3,border="#0000ffaa",lwd=10) > dev.off() > > > > > On Friday, December 29,...
2010 Feb 09
2
transparent concentric circles
I have a data set which I would like to plot as a set of concentric circles. The data represent a count of the number of characteristics shared by various elements - an example would look like this: 1 100 2 75 3 50 4 25 I.e. all four sets share 25 characteristics, three of them share 50 characteristics, and so on. I would like to plot these as concentric circles, with...
2017 Oct 24
3
draw a circle with a gradient fill
Hi all,I would like to draw a simple circle where the color gradient follows the rule color = 1/(r^2) where r is the distance from the circle. I would also like to add a color bar with values going from -40 to -110 (and associate those with the color gradient that fills the circle). So far I experiemented with draw circle install.packages(...
2003 Mar 31
3
monte carlo method for circle area
Hello everyone I hope Im not bothering you all again. I have just begun to use R and so Im not yet familiarized with it.. I ve got an assignment which consists in calculating the area of a circle given a certain radius and center using the monte carlo method, which means that I have to plot a circle given its parameters. Limit the area inside it...with as many sample points as possible...and all of this inside a nxn size window, which could be 1x1, or any size actually. I wonder how I coul...
2017 Dec 29
2
Draw Overlapping Circles with shaded tracks
Dear All: I am wondering if there is a way in R to draw these two circles with shaded tracks in both circles using R, and make both circles uncovered. I am trying to make it in MS words, but I could not. Your help will be highly appreciated. In my previous post I added the image of the two circles, but the post never published. I just thought to resent the post again...
2012 Jan 09
4
RGL- Drawing Circle
hi, i want to draw a simple circle by using 3d package RGL. i think i can use the command rgl.lines by studying the code from: http://www.swiftless.com/tutorials/opengl/circle.html but is there a faster and easier way to do it?? graham -- View this message in context: http://r.789695.n4.nabble.com/RGL-Drawing-Circle-tp427871...
2009 Sep 07
2
Very inaccurate circles
Hello, Please take a look at the attached plot and let me know if this is normal. The circle has radio I am using R 2.9.2 inside OS X Leopard. The plot was generated with: png('bizarre_circle.png') plot(c(-5,0,0,5), c(0,5,-5,0)) symbols(0,0, circles=c(sqrt(25)), inches=FALSE, add=TRUE) dev.off() If I resize the x11's plot window I can manage to make the circle pass through...
2017 Dec 29
0
Draw Overlapping Circles with shaded tracks
Hi Abou, Without an illustration it's hard to work out what you want. here is a simple example of two circles using semi-transparency. Is this any help? pdf("circles.pdf") plot(0:10,type="n",axes=FALSE,xlab="",ylab="") draw.circle(4,5,radius=3,border="#ff0000aa",lwd=10) draw.circle(6,5,radius=3,border="#0000ffaa",lwd=10) dev.off() Jim On Fri,...
2007 Jul 24
1
How to add circular text for a graph with concentric circles
Dear R experts, I am plotting the population of students who live in a city, and in successive circular bands made of the contiguous districts that surround the city. This is a stylized figure, where I specify the area of each successive circle based on the cumulative population of students. I want to compare two sets of concentric circles across different populations - such as 'All students' and 'Private students' (those attending private school) by using the same colours and the same dimension of the outer circle. I...
2006 Apr 22
4
how to draw a circle
how to draw a circle (e.g. radius=10cm) of one point? And how to choose these points in the circle? Thanks! [[alternative HTML version deleted]]
2004 Nov 22
4
How to correct this
Hi there, I tried to add a few circles on an existing figure using the following codes grid.circle(x=0.5, y=0.5, r=0.1, draw=TRUE, gp=gpar(col=5)) grid.circle(x=0.5, y=0.5, r=0.3, draw=TRUE, gp=gpar(col=5)) grid.circle(x=0.5, y=0.5, r=0.5, draw=TRUE, gp=gpar(col=5)) points(0.5, 0.5, col = 5) # centre of the circle , but all...
2017 Jun 14
4
[FORGED] Re: draw stripes in a circle in R
...ask one. >>> -- >>> Sent from my phone. Please excuse my brevity. >>> >>> On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >>>> dear R users, >>>> >>>> I would like to fill a circle with yellow stripes instead of a uniform >>>> yellow color. To draw the circle I used the following command after >>>> having loaded the (very nice !) plotrix library : > > I finally understood the question and it needs a hack to the draw.circle function in plotrix si...
2012 Jul 18
3
'symbols' not plotting correct circle radii
Hi there. I have been plotting some circles using 'symbols', with radii representing my data, but the radii looked incorrect. It seems to happen with a single circle too: Symbols ( 0, 0, circles = 40, xlim = c(-40, 40), ylim= c(-40, 40)) If I put a ruler up to my monitor (technology!) to compare the radius with the axes, the ci...
2004 Jun 25
7
circle / oval / semicircle ?
hi: where would I find facilities to draw circles, ovals, and semicircles? (or should I construct them myself using curve?) regards, /ivo
2012 Aug 15
1
shade overlapping portions of circles (or other shapes)
I'm making some illustrations and it would be convenient to automatically shade the overlapping portions of circles. These illustrations are for Social Choice theory, a field in political science and economics. I've wrestled together some examples so you can see what I mean, but have not mastered the "color overlapping sections" problem (as you will see): http://pj.freefaculty.org/scraps/t-m15g...
2010 Nov 16
5
scatterplot with filled circles
for a simple scatterplot: plot(X ~ Y, type = 'p', col = 'red') this produces red-edged circles, but I want to fill in the circles. can this be done? I checked '? plot' already but couldn't find what I was looking for. cheers -- View this message in context: http://r.789695.n4.nabble.com/scatterplot-with-filled-circles-tp3044690p3044690.html Sent from the R help mailing...
2017 Jun 14
0
draw stripes in a circle in R
...hat is not your question, ask one. >> -- >> Sent from my phone. Please excuse my brevity. >> >> On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >>> dear R users, >>> >>> I would like to fill a circle with yellow stripes instead of a uniform >>> yellow color. To draw the circle I used the following command after >>> having loaded the (very nice !) plotrix library : I finally understood the question and it needs a hack to the draw.circle function in plotrix since the angle an...
2007 Sep 26
1
Area of overlap between polygon and circle
R-listers, Given a polygon and a circle defined by its center coordinates and a radius, I would like to calculate the area of overlap. I know that I can create a polygon from the circle and then use available packages to get the area of the intersection. However, because the polygon is of a fixed size and I will be doing this for c...