On 5/23/08, hobie perry <[EMAIL PROTECTED]> wrote:
>
>  Good afternoon.
>
>  The basic plot function can automatically generate log scales as follows:
>
>      plot(calcium ~ soil_ph, log="y")
>
>  Here is my basic model in xyplot...
>
>      xyplot(calcium+magnesium ~ soil_ph|depth*region)
>
>  I would like the calcium and magnesium values to be reported on a log scale.
>  I have tried manipulating "scales" and "yscale.components" to no effect.

Try something like

xyplot(calcium+magnesium ~ soil_ph|depth*region,
       scales = list(y = list(log = 2)))

-Deepayan

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to