similar to: how to adjust titles on sub-plots in levelplot / contour plot?

Displaying 20 results from an estimated 300 matches similar to: "how to adjust titles on sub-plots in levelplot / contour plot?"

2009 Jan 02
1
How to capture multiple graph pages to .png ?
Hello all and thanks in advance for any help, There are really two issues that I am having, both related to saving graphs: 1) It seems that the "dev...()" functions are unstable when using higher level graphs (specifically I was using levelplot) 2) I have a large grid of levelplot graphs that I can print out into a subset quite easily when I print to screen, but if I print to a
2002 Aug 15
2
complex splits
Hi everyone, I'm having trouble figuring out how to split a dataframe more than once. Let's say I have a dataframe d with a certain column called splitcol composed of four possible ordinal values. The same dataframe has two other columns, col1 and col2, that have one of two possible values each. I'd like to split d$splitcol based on col1 and col2 so I can report frequencies of the
2011 Aug 28
1
Help with levelplot color assignment in lattice
Dear R users, I'm currently trying to make level plots of a longitudinal study of the spatio-temporal spread of a plant disease in a field, but the results of the color key assignment isn't what I expect. Here's more info. I recorded the level of a disease on an ordinal scale from 0 (no disease) to 9 (dead plant) on a grid that has 9 rows and 14 columns. The disease level on each
2007 Oct 11
4
Specifying geographic related facts
Let''s say I have two different geographic sites. They are pretty much identical ie. each site has a machine called web1 which is a web server, etc. Except there are couple site-specific settings ie. outgoing DNS servers are different, SSL certs are different etc. On the puppetmaster I can put in a file called e.g. /etc/sideid which would uniquely identify a site ie. siteX or siteY.
2010 Jan 06
1
How do I upside down colorkey of levelplot?
Hi, all. I made the main figure of levelplot upside down by transposing and proper indexing; upper left corner is the biginning of matrix. However, I can't figure out how I can upside down the vertical colorkey right side of the main figure. Any help will be greatly appreciated. Minho
2007 Apr 25
2
levelplot and unequal cell sizes
I am using levelplot() from lattice with grids that have unequal cell sizes. This means that the boundary between two cells is not always half-way between nodes, as levelplot() assumes. The result is that some cell sizes are rendered incorrectly, which can be painfully obvious if using relatively large cells. Is there any work-around? I am using the conditioning capability of lattice and
2010 Jan 09
0
[Lattice] panel.levelplot - shrink argument to highlight absolute z-values
Hi - I have a levelplot with positive and negative z-values. I'd like to scale the levelplot rectangles proportional to the *absolute* z-values to highlight the z-value extremes (while retaining the color difference to track the positive/negative attribute). I've likely missed something in the documentation, but have been at it a couple days without finding a solution (other than
2003 Aug 05
1
levelplot and points
Hi all, I face the following problem. I have two variables x,y. I have also calculated the surface z. When I am drawing the surface with function >levelplot (in library lattice) everything is OK. I have the legend etc ... Then I am trying to plot x,y on the same graph. So I am doing : >points(x,y) But, the points are not in the correct position. They are a little bit shifted to the
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
2008 Mar 31
1
question about levelplot panel arrangement
The default arrangement of multiple panels in a lattice plot is from bottom left to top right. Are there any ways to change that, for example, from top left to bottom right? Thank you. J.P.
2003 Aug 29
1
levelplot behaviour when "at" cuts the z range
Consider the following examples: library(lattice) x = c(1,1,2,2) y = c(1,2,1,2) z = 1:4 levelplot(z~x+y,at=c(.5, 1.5, 2.5, 3.5, 4.5)) # correct levelplot(z~x+y,at=c(.5, 1.5, 2.5)) # ? The second plot is clearly incorrect. However, I don't know what correct behaviour is: ignore everything above 2.5 and issue a warning? Reject at values that do not cover the data range, and issue an
2010 Apr 21
1
'cuts' option in levelplot()
Hi All, Does anyone knows what exactly "cuts=some number" (say 15) does in lattice's levelplot(). I doubt this but does it uses cut() internally, something like cut(z, 15)? Thanks, Gurmeet [[alternative HTML version deleted]]
2005 Apr 20
1
overlaying a contour line in a levelplot
Hello there, I am creating a series of images using levelplot but I also want to overlay a contour for a particular value as reference. Here is the levelplot command for the image: print(levelplot(d~x+y,data=t,cuts=20,scales=list(draw=F),xlab=NULL,ylab= NULL,col.regions=heat.colors(100)[100:1]),split=c(1,1,1,1),more=T) and then to add the contour plot (I only want a contour at level 5):
2010 Dec 04
1
scale caption on levelplot
hi, i am trying to figure out how to put a caption on the colour scale of a levelplot. there does not seem to be an option for this in levelplot(). i tried using mtext() but as soon as you put the text far out enough on the right of the plot, it goes beyond the plot boundary. so i tried to extend the margin on the right of the plot using par(mar) but this did not have any effect on the plot area.
2009 Nov 09
1
How to change color the default in levelplot() ?
Dear R communities May I seek your advices on how to change color the default in levelplot(), e.g. from the default of pink and light blue, to e.g. red and green ? The levelplot function has 1 of the arguments being panel (which is actually panel.levelplot), but I am not sure where the commands to alter the color. For example, I type: p1<-levelplot(my.mat,colorkey=FALSE), how could I
2008 Jan 05
1
mfrow for levelplot?
hello could anyone tell my, why I do not suceed with mfrow? par(mfrow=c(4,4)) for (i in 5:17){ levelplot(maxwater[,i]~maxwater$V1*maxwater$V2, col.regions=whiteblue(5), xlab="", cuts=4) } Thanks Marc --
2003 Sep 12
1
levelplot
Dear helpers, I have strange results with levelplot: The following lines of code produce a figure with a strange gray horizontal line. Changing n to 9 the line vanishes almost - it stays in the colorbar. Any ideas? The pixel geometry of the lower half of the figure is wrong? ############################## n<-8 xyz<-expand.grid(x=seq(1,n),y=seq(1,n)) z<-matrix(0,n,n)
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);
2007 Jan 11
0
levelplot not adjusting colors
Hi all, I try to make a levelplot from the Trellis graphics package of count data given a certain x and y variable. The problem is that I can adjust the colorkey colors, but the colors of the actual values in the plot will be unchanged if I change the colorkey. e.g. my_lvl_plot <- levelplot(my_z ~ my_x * my_y, colorkey = list(col=some_color_vector)) will result in a levelplot that
2008 Nov 17
1
Levelplot + Mosaic Plot hybrid?
Hi. I have built a levelplot with 3 variables, X, Y, and Z where X and Y are the two axes and Z represents the intensity (i.e. Z~X*Y). Now I want to adjust the size of the grid (like a mosaic plot) where the size of each grid is weighted by a variable, W. Just wonder how can I do that with levelplot? I tried exploring mosaic plot. How can I manipulate the "col" option to make it