[R] panel plot with log-scaled x-axis

Deepayan Sarkar deepayan at stat.wisc.edu
Tue Feb 8 19:16:31 CET 2005


On Tuesday 08 February 2005 10:19, Christoph Scherber wrote:
> Dear all,
>
> Can anyone help me plotting a panel plot with log-scaled x axes?
>
> My formula looks like this:
>
> coplot(response~div|treatment+grass,
> panel=function(x,y,...){panel.xyplot(x,y,...);panel.lmline(x,y,...)})

Are you sure that actually works? 

> And I´d like to have "div" plotted in log scale.

How to do that would depend at least on whether you are using coplot or 
xyplot (neither may have good solutions implemented).

Deepayan




More information about the R-help mailing list