Hi Abou,
Sure:
library(plotrix)
pdf("circles.pdf")
plot(0:10,type="n",axes=FALSE,xlab="",ylab="")
ymult=getYmult()
draw.circle(4,5,radius=3,border="#ffaa",lwd=10)
for(angle in seq(0,1.95*pi,by=0.05*pi))
draw.circle(4+3*cos(angle),5+3*sin(angle)*ymult,
radius=runif(1,0.05,0.1),col="#00ff00aa
Dear All:
Thank you very much for 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,
Another solution:
library("HelpersMG") plot(0:10,type="n",axes=FALSE,xlab="",ylab="",
asp=1) ellipse(center.x = 3, center.y = 5, radius.x = 5, radius.y = 5,
lwd=10, col=NA, border=rgb(red = 1, green = 0, blue=0, alpha = 0.5))
ellipse(center.x = 8, center.y = 5, radius.x = 5, radius.y = 5, lwd=1
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="#ffaa",lwd=10)
draw.circle(6,5,radius=3,border="#ffaa",lwd=10)
dev.off()
On Friday, December 29, 2017, 6:06:32 PM EST, Jim Lemon
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="#ffaa",lwd=10)
draw.circle(6,5,radius=3,bo
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 circ
6 matches
Mail list logo