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 ? Thanks Stanley [[alternative HTML version deleted]]
> 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 ?plot((0:15)*1e5, yaxt="n", ylab="") axis(side=2, at=c(0,5,15)*1e5, labels=c(0,5,15)) mtext("x10^5", adj=-.1) Regards, Richie. Mathematical Sciences Unit HSL ------------------------------------------------------------------------ ATTENTION: This message contains privileged and confidential inform...{{dropped:20}}
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