Displaying 5 results from an estimated 5 matches for "calculategridlayout".
2007 Jun 22
1
Lattice: hiding only some strips
...some xyplots conditioned on a
factor and a shingle. The shingle merely chops up the data along the
x-axis, so it is easy to identify which part of the shingle a panel is
in by looking at the x-axis markings. I only want to have a strip at the
top for the factor.
Is this possible? I looked into calculateGridLayout() and it seems to me
that there isn't an easy way to do it without rewriting that function
(and others).
Many thanks
--
Michael Hoffman
2004 Oct 29
1
Error in PDF output in R 2.0.0
...with
> print(xyplot(csw ~ time|factor(cpu), memIn,
+ panel=function(x,y)panel.xyplot(x,y,type='l')))
Error in "[<-"(`*tmp*`, pos.heights[[nm]], value = numeric(0)) :
nothing to replace with
> dev.off()
windows
2
## traceback on error
> traceback()
3: calculateGridLayout(x, rows.per.page, cols.per.page, number.of.cond,
panel.height, panel.width, main, sub, xlab, ylab, x.alternating,
y.alternating, x.relation.same, y.relation.same, xaxis.rot,
yaxis.rot, xaxis.cex, yaxis.cex, par.strip.text, legend)
2: print.trellis(xyplot(csw ~ time | factor(cpu...
2004 Apr 20
1
FW: Aligning different trellis plots
All --
I am trying to combine trellis plots and having a couple of small problems.
I'm trying to combine two trellis plots that display data of different
kinds. Each has a single row of plots, and I'd like to display them over
one another. So I use
print(plot1, split = c(1,1,2,1), more = TRUE)
print(plot2, split = c(1,2,1,2))
I end up with two minor issues. First, I'd like to
2005 May 05
6
Need some quick help with lattice - barchart
For the following code below, the x-axis ticks are 1,2,3,4,5,6,7 when I was expection them to be 1,2,8,9,10,11,12. Please help me figure out where is the mistake.
library(lattice)
testdata <- as.data.frame(t(structure(c(
1,2005,9.24,6.18,634,
2,2005,8.65,6.05,96,
8,2004,6.81,6.51,16,
9,2004,9.0,7.29,8,
10,2004,8.84,6.18,524,
11,2004,8.54,6.35,579,
12,2004,9.97,6.3,614,
12,2005,8.75,5.84,32,
2007 Jun 24
2
matlab/gauss code in R
...on a
> factor and a shingle. The shingle merely chops up the data along the
> x-axis, so it is easy to identify which part of the shingle a panel is
> in by looking at the x-axis markings. I only want to have a strip at the
> top for the factor.
>
> Is this possible? I looked into calculateGridLayout() and it seems to me
> that there isn't an easy way to do it without rewriting that function
> (and others).
>
> Many thanks
> --
> Michael Hoffman
>
>
>
> ------------------------------
>
> Message: 44
> Date: Fri, 22 Jun 2007 16:42:13 -0400
> From: S?...