[R] invert y-axis in barplot

2005-11-16 Thread Jörg Schlingemann
Hi! This is probably a very trivial question. Is there an easy way to invert the y-axis (low values on top) when using the function barplot()? Thanks, Jörg [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] invert y-axis in barplot

2005-11-16 Thread Marc Schwartz (via MN)
On Wed, 2005-11-16 at 16:46 +, Jörg Schlingemann wrote: Hi! This is probably a very trivial question. Is there an easy way to invert the y-axis (low values on top) when using the function barplot()? Thanks, Jrg You mean something like this?: barplot(1:10, ylim =

Re: [R] invert y-axis in barplot

2005-11-16 Thread Uwe Ligges
Jörg Schlingemann wrote: Hi! This is probably a very trivial question. Is there an easy way to invert the y-axis (low values on top) when using the function barplot()? barplot(1:10, ylim=c(10, 0)) works for me ... Uwe Ligges Thanks, Jörg [[alternative HTML