Displaying 20 results from an estimated 11000 matches similar to: "multipanel display of levelplots?"
2010 Mar 25
4
3 levelplots and 1 colorbar
I want to create a simple plot containing three levelplots with one colorbar.
I used the "Three levelplots" code below, but the third levelplot is drawn
smaller than the first two. However, if I try the "Two levelplots" code below
it works well. Can anybody tell me how could I draw three levelplots (of the
same size) with one colorbar.
Thanks in advance, Joaquin
### Three
2007 Mar 25
1
controlling panel.width and panel.height in viewports
Dear all,
I'm trying to get a series of lattice levelplots to appear in
viewports in a particular way but struggling to exert fine control
over their appearence. There are two conditions: (a) I only want the
levelplot to appear (I don't want axes, colour key, etc) in the
viewport and (b) I want the levelplot to expand to the maximum
allowable space in the viewport while observing
2007 Mar 22
2
unexpected behavior of trellis calls inside a user-defined function
I am making a battery of levelplots and wireframes for several fitted
models. I wrote a function that takes the fitted model object as the
sole argument and produces these plots. Various strange behavior
ensued, but I have identified one very concrete issue (illustrated
below): when my figure-drawing function includes the addition of
points/lines to trellis plots, some of the
2001 Sep 21
2
new versions of grid and lattice
Hi
There are new versions of the grid and lattice packages on CRAN:
grid 0.2 and lattice 0.3-0
These packages are still _under development_ (they are in
CRAN/src/contrib/Devel)
There have been some bug fixes and, especially in lattice, there are lots of
new features.
Descriptions of the changes are included below.
If you have any grid code, it may break under the new version because of a
2001 Sep 21
2
new versions of grid and lattice
Hi
There are new versions of the grid and lattice packages on CRAN:
grid 0.2 and lattice 0.3-0
These packages are still _under development_ (they are in
CRAN/src/contrib/Devel)
There have been some bug fixes and, especially in lattice, there are lots of
new features.
Descriptions of the changes are included below.
If you have any grid code, it may break under the new version because of a
2012 Aug 26
1
Multiple lattice levelplots from matrices
Dear R-users,
My goal is to construct a levelplot (from the lattice package) with 4 or more individual plots sharing the same colorkey. While this appears to be relatively simple using functions, I haven't been able to find a solution using data matrices. An example of a working levelplot with just one matrix:
d <- replicate(10,rnorm(10))
levelplot(d)
I have found partial solutions using
2011 Apr 06
2
Layout within levelplot from the lattice package
Hi,
I'm a novice with levelplot and need some assistance! Basically, I want a window
which contains 6 levelplots of equal size presented in 3 columns and 2 rows.
I've tried to approach it two ways. The first way leads to this question:
Is there any way to concatenate levelplots from a factor vertically as opposed
to horizontally? I'd like to pair the levelplots by factor.2 on
2013 May 02
3
Lattice xyplot multipanels
Derar Rxperts,
I have a strange situation.. I see curly brackets around "strip.levels" in
multipanel strips while using lattice::xyplot. .How do I get rid of the
curly brackets? For some reason, I am not able to reproduce the problem
using an example below...
Any suggestions are highly welcome!
Thanks,
Santosh
q <-
2008 Jun 23
1
levelplot question
Dear all;
I have a data set with 3 groups and 2 response variables, say z1 and
z2, and I would like to create a single plot (using the levelplot
function) showing on the first row the leveplots for z1 for each group
and on the second row levelplots for z2 for the same groups. I tried
plot.trellis using the split option and it's OK but what I would like
to achieve is something similar to what
2005 Feb 15
1
lattice multiple plots per page
Dear R-sters,
I was wondering if anyone has encountered the following issues. I've
figured out how to get multiple levelplots [library(lattice)] on a single
plot. However, when I add text (adding axis labels for the entire four
panel plot) the text is missing when I insert the *.eps file I've created
into my LaTeX document (via MikTeX-WinEdt). And, I've just upgraded to R
2013 Apr 30
0
Grouped spaghetti plots in multipanel graphs
Dear Rxperts,
Is there a simpler way to generate multipanel grouped individual profile
plots? All individuals of a group within a panel have the same color. As
of now I am using lattice::xyplot to get the desired effect. Please feel
free to suggest other ideas.
Also, I am trying to create a generalized function which goes on similar
lines like this..
grpPlot <- function(dat, mpgrp=quote(G),
2010 Sep 25
1
margin control in lattice package
Hi all,
I am difficulty with simple layout of plots in the lattice package
I have created a series of levelplots and would like to plot them to a
single device, but need to reduce the margin areas. This is easily
accomplished with par(oma) and par(mar) in the base graphics package but I
am having problems finding the equivalent features in the lattice package.
Ideally, I would like to reduce
2004 Apr 27
1
helps on levelplot
I'm a new user of levelplot, and are not familiar with the terminology
very well. Is the bar alongside the levelplot indicating color or shade
call "colorkey"? I have to adjust the size of its label, but couldn't
make it so far. This is how I did:
levelplot(z~x*y, grid, at=seq(0,1,by=0.1),
colorkey=list(labels=list(cex=2)))
But I got error message "Error in
2011 Oct 09
2
Multiple levelplot with title
Hi all,
I'm new to R and to the mailing list, so please bear with me :-)
I would like to create multiple levelplots on the same chart with a nice
main title with something like this:
print(levelplot(matrix(c(1,2,3,4), 2, 2)), split=c(1, 1, 2, 1))
print(levelplot(matrix(c(1,2,3,4), 2, 2)), split=c(2, 1, 2, 1),
newpage=FALSE)
I found a trick:
mtext("Test", outer
2007 Jun 27
1
levelplot in lattice
Hi,
I'm new to lattice. So please kindly be patient with me.
I'm trying to arrange groups of levelplots into 3 rows as follows:
Row1: Probabilities as functions of x and y, and conditioned on an event factor vector factor("a","b","c")
Row2: Number of days as functions of x and y, and conditioned on, again the same event
2006 May 21
1
print.trellis(..., draw.in=...)
A year ago I had posted this code
https://stat.ethz.ch/pipermail/r-devel/2005-June/033508.html
and the associated discussion was that there would be a print.trellis
argument that could be used to eliminate the need for with.vpPath
or with.viewport there. I assume that that is what draw.in= in
print.trellis is for. When I try it I get an error. I did notice that
?print.trellis says draw.in=
2003 Jul 14
2
Multipanel weighted regression lines.
Dear R-users,
I am trying to create a multipanel scatter plot which displays weighted
regression lines for each subgroup. I am having diffuculty figuring out
how the Trellis multipanel plotting functions work, in general. Does
someone know where there are some beginners examples on how to create
and use panel.xxx functions in conjunction with the xyplot functions?
Back to the matter at hand
2006 Jan 09
1
How to use filled.contour(x,y,z) data for levelplot(z)?
Dear all,
We used the following function to create a spatial plot of a raster image:
filled.contour(xx,yy,zz, color = terrain.colors, nlevels=10,
main=naamjaar, plot.axes = { contour(Xcoord/1000,Ycoord/1000,lim.data,
nlevels = 4, col=4,drawlabels = T, axes = FALSE, frame.plot = FFALSE,
add = TRUE);axis(1); axis(2);
2003 Oct 28
1
'levelplot' with an option 'at'
Hi all,
I encountered a difference between versions 1.6.1 and 1.7.0 when using
levelplot with an option 'at'. Here are the specs of the two platforms
used:
> R.version
_
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
> R.version
_
platform
2006 May 10
4
lattice package plots
I am using the lattice packge for its levelplot and contourplot. Is it
possible to adjust the line thickness of the 'box' and tickmarks in these
plots?
Thanks for the attention,
Matt Sundling