On 10/4/08, Desany, Brian <brian.desany at roche.com>
wrote:> For a non-log-scaled y-axis, I was able to change the appearance of the
> y tick labels in an xyplot by using a custom function for
> yscale.components. However I couldn't get that approach to work for
when
> scales=list(y=list(log=TRUE)).
>
> What I'm trying to do is make the y-tick labels show up as something
> like (10, 100, 1000, etc.) rather than the default (10^1.0, 10^2.0,
> 10^3.0, etc.).
Doesn't the first (densityplot) example in ?yscale.components.default
do this? Other relevant examples are
http://lmdvr.r-forge.r-project.org/figures/figures.html?chapter=08;figure=08_04
and
http://lmdvr.r-forge.r-project.org/figures/figures.html?chapter=08;figure=08_05
-Deepayan