Re: [R] How to remove the vertical space between two graps

2013-01-22 Thread David L Carlson
, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Purna chander > Sent: Tuesday, January 22, 2013 3:41 AM > To: r-help > Subject: [R] How to remove the vertical space between two graps > &g

[R] How to remove the vertical space between two graps

2013-01-22 Thread Purna chander
Hi, I have created a barplot using the following code. a<-c(11,23,15,34,42,31) m<-matrix(a,nrow=2) m[2,]<-(-1)*m[2,] par(mar=c(4,4,4,0)) barplot(m[2,],horiz=T) par(mar=c(4,0,4,2)) barplot(m[1,],horiz=T,col="black") and the plot obtained is shown in "plot1.tiff". I was not willing to see the g