Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

4 results for “from:Garbade, Sven”

panel.rect and log scale in lattice plot
Garbade, Sven · Mar 23, 2022 · r-help

Dear all, I posted this on Stack Overflow, but there is no response, so I try it here again. I'm wondering about how to draw a highlighted rectangle with log y-axis in a trellis/lattice plot. My idea...

panel.rect and log scale in lattice plot
Garbade, Sven · Mar 23, 2022 · r-help

thanks, this do the trick! xyplot(y ~ x, panel=function(x,y, ...) { cpl <- current.panel.limits() yseq <- log(c(100,1000)) panel.rect(xleft=cpl$xlim[1], ybottom=yseq[1], xright=cpl$xlim[2], ytop=yseq[2], fill="lightgray", border...

panel.rect and log scale in lattice plot
Garbade, Sven · Mar 23, 2022 · r-help

Yes, thanks. The figure is for publication, I started with lattice and I don't like to use two different graph types (lattice and ggplot2). When there is no workaround, I re-create all figures with ggplot2. In the meanwhile...

panel.rect and log scale in lattice plot
Garbade, Sven · Mar 23, 2022 · r-help

using trellis.last.object()$y.scales$log helps a lot, thanks! I now check whether data were transformed and apply an appropriate transformation if needed. Maybe it helps when current.panel.limit() has information about transformations, so someone doesn't...

Can't find what you're looking for? Try searching with Google .