Re: [R] package grid: mirror grob objects along an axis

2012-06-03 Thread Thomas Zumbrunn
s [modulo cex multipliers]). If you really desperately needed to do something like this, a last resort might be to draw the required "scene" in hi-res raster format. You could then easily flip the raster and draw that. Thomas Zumbrunn I was actually asking the que

Re: [R] package grid: mirror grob objects along an axis

2012-05-22 Thread Thomas Zumbrunn
) > # row 2, col 2: flip y axis > plot(Sepal.Length, Sepal.Width, col = as.integer(Species), > xlim = c(4, 8), ylim = c(4.5, 2), > panel.first = grid(3, lty=1,lwd=2), > main = "... panel.first = grid(3, lty=1,lwd=2), ..") > > [... et

[R] package grid: mirror grob objects along an axis

2012-05-22 Thread Thomas Zumbrunn
Hi everyone I'd like to flip grobs (grid graphical objects) along an axis, e.g. flip grobs horizontally or vertically. I couldn't find any hints, neither in the documentation nor by searching the web. Does anybody know how to achieve this? Cheers /thomas ___

[R] lattice: horizontal alignment of labels in key

2009-06-02 Thread Thomas Zumbrunn
s for the two labels since the second label does not stretch over the baseline. Any ideas how I could circumvent the problem (other than manipulating the key grob)? Best wishes Thomas Zumbrunn __ R-help@r-project.org mailing list https://stat.et

Re: [R] arrangement of crowded labels

2009-05-21 Thread Thomas Zumbrunn
> -Original Message- > I'm looking for algorithms that assist in spreading out crowded labels, e.g. > labels of points in a scatter plot, in order to obtain a nicer visual > appearance and better legibility. > > I'm probably just stuck because I didn't find the right key words for a > succ

[R] arrangement of crowded labels

2009-05-19 Thread Thomas Zumbrunn
search on the R websites or in the mailing list archives. Any hints are appreciated. Thomas Zumbrunn University of Basel __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-proj

[R] call lattice function in a function passing "groups" argument

2008-12-11 Thread Thomas Zumbrunn
f <- function(data, groupvar) { densityplot(~ x, data, groups = groupvar) } probably because the lattice function "densityplot.formula" preprocesses the "groups" argument with groups <- eval(substitute(groups), data, environment(formula)) It there a way how I cou

[R] lattice: emulating the par(xaxs="i") behaviour

2008-03-21 Thread Thomas Zumbrunn
e behaviour could be applied to a whole set of plots? Thomas Zumbrunn __ 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.

Re: [R] x11() and Xinerama settings

2008-02-01 Thread Thomas Zumbrunn
On Friday 07 December 2007, Thomas Zumbrunn wrote: > Since I changed my X11 settings to a Xinerama setup, calls to x11() result > in windows with a width half the size of the one specified by the > corresponding parameter. Furthermore, x axis labels are overlapping. Other > devic

[R] adjusting y axis labels in lattice plots?

2008-01-23 Thread Thomas Zumbrunn
adjustment. Thomas Zumbrunn -- Thomas Zumbrunn Institute of Zoology, University of Basel Vesalgasse 1, CH-4051 Basel, Switzerland GPG: 1024D/8E0AD1CE __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] x11() and Xinerama settings

2007-12-07 Thread Thomas Zumbrunn
anybody have the same problem, and if so, how did you solve it? ( I'm using openSUSE 10.3 on a x86 architecture.) Thomas Zumbrunn -- Thomas Zumbrunn Institute of Zoology, University of Basel Vesalgasse 1, CH-4051 Basel, Switzerland Tel +41 (0)61 267 03 71 GPG: 1024D/8E0