[R] panel plot with log-scaled x-axis
Christoph Scherber
Christoph.Scherber at uni-jena.de
Wed Feb 9 11:07:33 CET 2005
Hi,
I´ll try to rephrase my question using the following example:
xyplot(conc~uptake|Treatment+Type,data=CO2)
Would it be possible to make each of the x axes log-scaled (but with the
same tick labels)?
Thanks very much!
Christoph
Deepayan Sarkar wrote:
>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