Re: [R] barplots and missing xlabels

2008-01-14 Thread Geoff Russell
On 1/15/08, -Halcyon- <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd say just stretch the plot window. The code works fine and labels are all > present The labels didn't appear on my pdf output but the following code worked fine xpos<-barplot(dat$Aorta,ylim=c(0,100), names=rep("",length(dat$AgeGroup

Re: [R] barplots and missing xlabels

2008-01-14 Thread -Halcyon-
Hi, I'd say just stretch the plot window. The code works fine and labels are all present Gz Jim Lemon-2 wrote: > > Geoff Russell wrote: >> Dear useRs, >> >> The following plots only print 2 of the 4 labels under the bars, is there >> a way please to force all 4 labels to print? >> >> par(mf

Re: [R] barplots and missing xlabels

2008-01-14 Thread John Kane
It is printing all four labels, The window is just not large enough to show them. In Windows anyway,grab the window and stretch it (to the left probably) . --- Geoff Russell <[EMAIL PROTECTED]> wrote: > Dear useRs, > > The following plots only print 2 of the 4 labels > under the bars, is ther

Re: [R] barplots and missing xlabels

2008-01-14 Thread Geoff Russell
See below On 1/14/08, Jim Lemon <[EMAIL PROTECTED]> wrote: > Geoff Russell wrote: > > Dear useRs, > > > > The following plots only print 2 of the 4 labels under the bars, is there > > a way please to force all 4 labels to print? > > > > par(mfrow=c(1,2),mar=c(2,7,3,1)) > > dat<-data.frame("AgeGrou

Re: [R] barplots and missing xlabels

2008-01-14 Thread Jim Lemon
Geoff Russell wrote: > Dear useRs, > > The following plots only print 2 of the 4 labels under the bars, is there > a way please to force all 4 labels to print? > > par(mfrow=c(1,2),mar=c(2,7,3,1)) > dat<-data.frame("AgeGroup"=c("2-15","16-20","21-25","26-39"), > "Aorta"=c(20,8,30,60), > "Coronary

[R] barplots and missing xlabels

2008-01-13 Thread Geoff Russell
Dear useRs, The following plots only print 2 of the 4 labels under the bars, is there a way please to force all 4 labels to print? par(mfrow=c(1,2),mar=c(2,7,3,1)) dat<-data.frame("AgeGroup"=c("2-15","16-20","21-25","26-39"), "Aorta"=c(20,8,30,60), "Coronary"=c(7,30,55,65)) barplot(dat$Aorta,ylim