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

hulubu at gmx.de hulubu at gmx.de
Mon Jul 10 18:43:03 CEST 2006


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!

Best Regards 
 Tom
-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...



More information about the R-help mailing list