Re: [R] Add text to a stacked barplot

2010-11-10 Thread Ashraf Yassen
> > On Tue, Nov 9, 2010 at 1:11 AM, Ashraf Yassen > wrote: > >> Dear All, >> >> Now with data. Any suggestion how to center the text in the filling would >> be >> appreciated. >> >> Kind regards, >> Ashraf >> >> library(

Re: [R] Add text to a stacked barplot

2010-11-09 Thread Ashraf Yassen
.text(x,y,label = round(y,3),cex=1) } ) On Mon, Nov 8, 2010 at 4:37 PM, RICHARD M. HEIBERGER wrote: > Please post some data (fake data is fine) for stuffa. The example doesn't > execute as is. > > Rich > > > > On Mon, Nov 8, 2010 at 10:27 AM, Ashraf Yassen >

[R] Add text to a stacked barplot

2010-11-08 Thread Ashraf Yassen
0, col = "gray", lty = 3,lwd=1) panel.barchart(x,y,...) panel.text(x,y,label = round(y,1),cex=0.48) } ) Kind regards, Ashraf Yassen [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/li