Dear Denis and jim,Thankyou for your help. 
eliza

> Date: Sun, 20 Oct 2013 10:55:05 +1100
> From: jim@bitwrit.com.au
> To: eliza_botto@hotmail.com
> CC: r-help@r-project.org
> Subject: Re: [R] bold dot size and name in plot
> 
> On 10/20/2013 08:29 AM, eliza botto wrote:
> > Dear useRs,
> > ...
> >
> > I made a dot plot between them. what i want to do is to bold the size of dots,compared to that of others, for the following ranges
> > -------80<x<100 and 2<y<4
> >
> > -------40<x<60 and 8<y<10
> >
> > -------100<x<120 and 6<y<8
> >
> > Then, i also want to draw square around those dots falling in these ranges and finally naming the areas with alphabets A, B and C.
> >
> > Is there a way of doing it?
> >
> Hi Eliza,
> Your data was a bit corrupted, but try this:
> 
> z1<-cbind(z,rep(1,124))
> z1[z1[,1]>80 & z1[,1]<100 & z1[,2]>2 & z1[,2]<4,3]<-2
> z1[z1[,1]>40 & z1[,1]<60 & z1[,2]>8 & z1[,2]<10,3]<-2
> z1[z1[,1]>100 & z1[,1]<120 & z1[,2]>6 & z1[,2]<8,3]<-2
> plot(z1[,1],z1[,2],cex=z1[,3])
> rect(80,2,100,4)
> rect(40,8,60,10)
> rect(100,6,120,8)
> text(c(90,50,110),c(3,9,7),LETTERS[1:3])
> 
> Jim
 		 	   		  
	[[alternative HTML version deleted]]

