Skip to content
Prev 106093 / 398506 Next

Passing arguments to panels in trellis plots

On 12/13/06, Marco Chiarandini <marco at imada.sdu.dk> wrote:
Yes, that's a feature of lattice.
Not if you insist on using 'scales = list(log = TRUE)' to specify log
scales. Use a different argument that gets passed to the panel
function, and then use it in the panel function. I suspect you are
using Ecdf simply to get a probability scale on the y-axis; the proper
way to specify data-based limits is to write a prepanel function, as
explained in ?xyplot.

-Deepayan