Re: [R] barplot and ylim - display problems

2005-02-18 Thread Marc Schwartz
On Fri, 2005-02-18 at 14:47 +, Dan Bolser wrote: The following single line of code shows what I am trying to do, and the problem I am having... barplot(c(101,102,103),ylim=c(100,103)) The 'xaxis' is missing, and the grey bars 'fall off' the plot area. This is generally ugly, and I

Re: [R] barplot and ylim - display problems

2005-02-18 Thread Uwe Ligges
Dan Bolser wrote: The following single line of code shows what I am trying to do, and the problem I am having... barplot(c(101,102,103),ylim=c(100,103)) The 'xaxis' is missing, and the grey bars 'fall off' the plot area. This is generally ugly, and I would like to trim the bars (ideally they would

Re: [R] barplot and ylim - display problems

2005-02-18 Thread Achim Zeileis
I think a workaround, that will do what you want is: barplot(c(101,102,103) - 100, offset = 100) hth, Z On Fri, 18 Feb 2005 14:47:24 + (GMT) Dan Bolser wrote: The following single line of code shows what I am trying to do, and the problem I am having...