Try to include this on your code before your plot statment.
options(scipen=1000)
hope this helps.
miltinho astronauta
brazil
On Mon, Sep 15, 2008 at 6:06 PM, Juliet Hannah
<juliet.hannah@gmail.com>wrote:
> Here is an example barplot that needs some tweaking:
>
> library(gplots)
> ratios <- data.frame(c(0.05,0.10,0.9),c(0.06,0.15,0.76))
> rownames(ratios) <- c("T1","T2","T3")
> colnames(ratios) <- c("A1","A2")
> ratios <- as.matrix(ratios)
> myplot <- barplot2(ratios, beside = TRUE,col = c("blue",
> "green","lightcyan"),ylim =
c(1,0.0001),log="y",plot.grid = TRUE,
> legend=rownames(ratios))
>
>
> I would like the y axis to range from 1 to 0.0001 (decreasing and not
> written in scientific notation), and be on a log10 scale. In addition,
> how can I control the position of the legend.
>
> Thanks for your time!
>
> Juliet
>
> ______________________________________________
> R-help@r-project.org 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.
>
[[alternative HTML version deleted]]