[R] nice log-log plots

Martin Maechler maechler at stat.math.ethz.ch
Mon Mar 15 15:36:46 CET 2010


>>>>> "JL" == Jim Lemon <jim at bitwrit.com.au>
>>>>>     on Mon, 15 Mar 2010 17:53:40 +1100 writes:

    JL> On 03/15/2010 03:12 AM, ElManuelito wrote:
    >> I'm open to any suggestions and improvements...

    >> ...
    >> #plot.loglog(f,S,type="o",col=4,pch="",xaxs="i",yaxs="i");
    >> 
    JL> Hi ElManuelito, The first improvement would be to send
    JL> toy data so that we could play with your functions. The
    JL> second improvement would be to define "plot.empty" for
    JL> us, for even when I made up some data, the plot.loglog
    JL> function didn't work because of this.

Have you tried

install.packages("sfsmisc")
library(sfsmisc)

example(eaxis)

## and then

?eaxis 

I think this is what you need (in a more flexible way than a
plot.loglog function).

Regards,
Martin Maechler, ETH Zurich



More information about the R-help mailing list