Hi Stephane, Drawing a bar plot with log axes is a really bad idea. The whole point of a bar is that you are judging the area between the top of the bar and the y-axis. If you use a log scaled axis the distance to y=0 is Inf, and your plot isn't really meaningul.
You might want to consider using a dot plot instead. See http://www.b-eye-network.com/view/index.php?cid=2468&fc=0&frss=1&ua= for a good discussion of the issues. Hadley On 4/6/07, stephane helleringer <[EMAIL PROTECTED]> wrote: > Hi all, > > my apologies for a probably very obvious question but i can't figure out if, > on > a bar plot, there is a simple way to have the x-axis cross the y-axis at 1, > when the y-axis is on a log-scale? > I want to draw a bar plot, and have some of the bars "drop" below 1 while > starting from 1. Is this possible? > I have been trying various things using barplot, barplot2 etc... without > success. > Thanks a lot for your help, > > stephane > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
