[R] Beautifying axis tick labels

Jim Lemon jim at bitwrit.com.au
Thu Apr 10 14:25:20 CEST 2008


Ng Stanley wrote:
> Hi,
> 
> For example, the y axis shows "0 500000 1500000". Is there any way to
> beautify the tick labels to get 0 5 10 15, and at the top of y-axis "x10^5"
> (superscript 5) ? My plots all have different ylim, how to perform the
> beautification automatically ?

Hi Stanley,
You may want axis.mult in the plotrix package

Jim



More information about the R-help mailing list