Displaying 3 results from an estimated 3 matches for "leftvp".
Did you mean:
leftp
2009 Sep 27
0
puzzle with drawDetails for a class derived from a gTree
...t regards,
Baptiste
## two function that create the text grobs
make.test.right <- function(lab, col) {
textGrob(lab, gp=gpar(col=col), name="right", vp="rightvp")
}
make.test.left <- function(lab, col) {
textGrob(lab, gp=gpar(col=col), name="left", vp="leftvp")
}
grid.test <- function(right="right text", left="left text", col = "red",
edits=NULL, draw=TRUE,
name=NULL, gp=gpar()) {
## layout for the two children
vp <- viewport(layout=grid.layout(1, 2))
## viewports...
2008 Nov 01
1
Splitting device for ggplots?
Dear UseRs,
For various reasons I need to plot multiple ggplots on one device
(preferably pdf). Is there a way to achieve that?
par(mfrow), split.screen() and layout() seem not to do the job.
Thanks,
Vitalie.
2008 Oct 27
3
Arrays of Trellis plots
hello,
the example below does not work. (i know it's not supposed, but it makes it
clear what i'm trying to achieve)
par(mfrow=c(2,1))
xyplot(y~x2|x1,data=dataframe1,pch=20)
xyplot(y~x2|x1,data=dataframe2,pch=20)
i know i could probably merge the two datasets and do something like
xyplot(y~x2|x1+dataset,data=merged)
any other suggestion?
thanks.
[[alternative HTML version deleted]]