Re: [R] 10^x instead 10EX on plot axes. How?

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Tue 11 Jul 2006 - 21:26:14 EST

hulubu@gmx.de wrote:
> Hi,
>
> I'm drawing a very simple plot with both axes logarithmic (default base 10).
> Example:
> vec=c(1,10,100,1000,10000,100000,1000000,10000000)
> plot(vec,vec,log="xy")
>
> The axes on the plot now show the technical notation like 1E+3 but I would prefer to have it the notation 10 ^3 i.e. with the exponent here 3 superscript (raised).
> Any help very much appreciated!
>
Hi Tom,

Have a look at axis.mult in the plotrix package.

Jim



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 11 07:34:13 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 11 Jul 2006 - 12:16:21 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.