ok, found a workaround using 'useOuterStrips':
#Example:
require(lattice)
#require(latticeExtra)
f <- data.frame(a = c(1:40), b = c(1:10, 20:29, 990:999, 20:29),
d = c(rep("A", 20), rep("B", 20)),
e = c(rep("X", 10), rep("Y", 10), rep("X", 10), rep("Y",
10)))
useO
Hi Duncan,
Thanks for your reply.
It is my understanding the whole problem arises from using 'relation =
free'. It looks like xlab.top ignores this and positions the labels as if
'relation = same'.
My example is actually a simplified version of a much more complicated plot.
It creates a 12 by 5
On 2013-02-25 07:47, Manuel Kunz wrote:
Hi,
I created a xyplot with a three-column layout. As suggested by Deepayan I tried to put
titles to each column by using xlab.top. Unfortunately, as my y-axis scale relation =
"free", the column titles are not centered at the three x axes anymore. Any
Hi manuel
Have a look at http://tolstoy.newcastle.edu.au/R/e2/help/07/05/17666.html
Just plugging in your xlabs everything is OK for Deepayan's example
xyplot(1:9 ~ 1:9 | gl(3, 1, 9),
layout = c(3, 1),
xlab = myXlabGrob('Trial number',
'Subject number',
Hi,
I created a xyplot with a three-column layout. As suggested by Deepayan I tried
to put titles to each column by using xlab.top. Unfortunately, as my y-axis
scale relation = "free", the column titles are not centered at the three x axes
anymore. Any idea how to center the titles?
#Example:
5 matches
Mail list logo