[BioC] Flipping labels on bottom of boxplot
Ido M. Tamir
tamir at imp.ac.at
Fri Apr 25 16:07:09 CEST 2008
On Friday 25 April 2008 15:48:34 Paul Geeleher wrote:
> Hi all,
>
> I want to output some boxplots as PDF files, but I'm having a problem
> in that you can't see all the labels at the bottom of the screen
> because they overlap.
>
> Have a look here if you want to see what I'm talking about:
> http://frink.nuigalway.ie/~pat/boxplot.pdf
>
> As you can see only half the array labels are visible.
>
> Is there a way of flipping these labels 90 degrees, so that they
> vertical, and hopefully all visible? I've seen it somewhere before but
> don't know how to do it...
boxplot(len ~ dose, data = ToothGrowth,las=2)
But I think you could get problems with the margins.
Then you have to set par(mar=c(10, 4, 4, 2) +0.1).
HTH,
ido
More information about the Bioconductor
mailing list