Skip to content
Prev 228024 / 398500 Next

R graphic help

Hi Tim,

You might want to try it with the following:

par(usr=c(-2,1,ymin,ymax) 

Where -2 and 1 are the exponents for your x-values, and ymin and ymax the margins you want for your y-values.

Then you plot as usual adding the following parameters:

plot(x,y,....,log="x",xlim=c(10^par("usr")[1:2]),xaxp=c(0.01,10,1))


Hope this will work for you! 

It might also help to read through the help-files on "?par()" where all graphical parameters are explained.

/Birte
Message-ID: <B84DCFF9B601284D9B15918CD14F3499021462865039@UMDAC-CCR2.ad.umu.se>
In-Reply-To: <mailman.16.1279447208.23338.r-help@r-project.org>