similar to: scale caption on levelplot

Displaying 20 results from an estimated 2000 matches similar to: "scale caption on levelplot"

2011 Apr 07
1
comparing ARIMA model to data
hi, i am trying to teach myself about ARIMA models. i have followed examples from a number of sources and have more or less got the hang of how it works. i would like to compare the output from the fitted model to the original data. is this possible? or even a meaningful thing to do? to be clear, for example, having generated a fit to some data using > fit <- arima(LakeHuron, order = c(1,
2010 Dec 14
2
lines and points without margin
hi, i am sure that this is a trivial question but i have not been able to find an answer by searching the mailing lists. i want to plot points on a graph, joined by lines. the command that i am using is points(x, y, type = "b", pch = 21) this plots nice open circles at the data points and draws lines between them. however, the lines do not come all the way up to the edge of the
2006 Nov 27
2
NaN with ccf() for vector with all same element
hello, i have been using ccf() to look at the correlation between lightning and electrogamnetic data. for the most part it has worked exactly as expected. however, i have come across something that puzzles me a bit: > x <- c(1, 0, 1, 0, 1, 0) > y <- c(0, 0, 0, 0, 0, 0) > ccf(x, x, plot = FALSE) Autocorrelations of series 'X', by lag -4 -3 -2 -1 0
2007 Feb 08
2
path for source()
hello, i have a couple of .R files distributed about my file system. i commonly source() these from other files, but i have to include the full file path. this is not always convenient if you move files around. is there a way of setting the search path for source()? thanks a lot! cheers, andrew. -- Andrew B. Collier Space Physics Group Hermanus Magnetic Observatory Honorary Research Fellow
2005 Mar 02
3
orientation of eps files
hello, i have a problem with the orientation of eps files produced with the postscript() command. i have generated some eps files with R using: postscript(file = filename, horizontal = FALSE, paper = "special", onefile = F ALSE, height = height, width = width, pointsize = pointsize) now, when i include these eps files into a standard paper document (ie. a4 paper, portrait orientation)
2011 Nov 07
2
adjusting levelplot color scale to data
Hi guys, I have a matrix with values varying from approximately -0.7 to 0.33 that I want to create a heatmap/levelplot with. When I execute the levelplot function for my matrix, I end up getting colors that are adjusted to the max and min rather than around 0. In other words, ideally I would like to have a color ramp that goes from red (negative number), to white (0), to blue (positive);
2012 Jan 06
1
Can levelplot colorkeys display a logarithmic scale evenly?
I'm using the {lattice} "levelplot" function to make a (more or less) 2-d histogram, and for the most part it's working fine with my data. However, I can't get the color key to do what I need. I can give it labels and custom cutoffs, but my cutoff lines (and hence my labels) aren't evenly spaced, instead they're more-or-less logarithmic, starting at
2005 Nov 08
0
Re: New Standard/Daylight time-change dates in rhel4u2butnot centos4.2?
Zulu time will (necessarily) be reckoned relative to Durban, South Africa (capital of KwaZulu-Natal province, South Africa) where the Zulu people live. Brian Brunner brian.t.brunner at gai-tronics.com (610)796-5838 >>> sam at wa4phy.net 11/07/05 07:37PM >>> Peter Farrow wrote: > For those of us who live the promised land where GMT is absolute time > all the this
2004 Oct 25
2
aov documentation page: question
Dear all I was looking at the aov documentation page and came across the following which seems like a contradiction to me: " This provides a wrapper to |lm| for fitting linear models to balanced or unbalanced experimental designs." (I presume 'This' refers to aov) and "|aov| is designed for balanced designs, and the results can be hard to interpret without
2004 Feb 25
2
levelplot add line
R folks, I can't seem to find the instructions in the help files for the lattice package that explain how to add lines, such as with lines() or ?, to a levelplot. I'd be grateful if someone could point me in the proper direction. Cheers, Jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeff Jorgensen Center for Limnology jcjorgensen at wisc.edu
2006 Sep 13
1
forcing levelplot to use relative cuts (ie cuts for each panel)
Dear guRus, I'm having trouble producing a levelplot with relative cuts for each panel (my data has large differences in scales, so I want to use quantiles for each panel). My attempts to change the 'at' argument in panel.levelplot function have not met with success. Below is a toy example. xy <- expand.grid(x = 1:3, y = 1:3) aaa <- rbind(cbind(xy, z = 1:9, site =
2004 Aug 31
1
add single contour line to levelplot
Hello, I want to add a single contour line to a levelplot but can't figure out how to do it 'on-the-fly'. When I include the last line in the code below, I get the following error: Error in NextMethod("[") : Argument "subscripts" is missing, with no default Any tips on how to fix this are greatly appreciated! Ian Jonsen
2010 May 21
3
Levelplot
Dear mailing list, I am trying to find out, how do a levelplot without labels on the x- and y-axis. The labels=FALSE does not work...can anyone help me? m <- matrix(1:25, ncol=5) levelplot(m, labels=F) Regards, Benedikt
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):
2005 Jan 26
2
postscript() and levelplot() in a for loop
Hi, I like to produce a series of levelplot graphs in postscript file, so I put the trunk of codes including postscript() and levelplot() in a for loop. The codes work fine outside the loop, but only produce empty .ps file when being put within the loop. Is it a problem associated with postscript() or levelplot()? How to get around the problem? Many thanks! Yan [[alternative HTML
2010 Mar 31
2
lattice: how to add points to the plot generated by levelplot()?
I am using levelplot() function from pkg:lattice and I want to add some points to the plot generated by levelplot() similarly as in basic R graphic sequence: plot(...); points(...), but it does not work. I was reading documentation for lattice, but so far without much success. I would very much appreciate some tips. Best regards, Ryszard
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
2005 Mar 30
1
help with plotting a grid on levelplot
I'm trying to plot a grid over a levelplot print( levelplot( var1.pred~x+y, data=saw.pred, aspect=mapasp(saw.pred), col.regions=terrain.colors(80), main=main) ) using the data... > saw.pred x y var1.pred var1.var sort 1 5 5 3.3761200 256.3363 saw 2 15 5 3.3884142 499.5695 saw 3 25 5 3.5394769
2013 Jan 20
2
Lattice levelplot- remove unused levels per panel
Hi, I am using levelplot, and would like remove from each panel (condition) its unused x levels. e.g. Remove from panel vs=1 the cyl level=8. data(mtcars) levelplot(mpg~factor(cyl)*factor(gear)|factor(vs)) Thanks for your help, Ronny -- View this message in context: http://r.789695.n4.nabble.com/Lattice-levelplot-remove-unused-levels-per-panel-tp4656087.html Sent from the R help mailing
2012 Jun 16
2
aligning axis labels in a colorkey from levelplot
R does a great job with the fine details regarding plots. e.g in the following: library(lattice) y <- -4:4/10 xyplot(y~1, las=1) the y axis is labelled with numbers -0.4, -0.2, 0.0, 0.2, 0.4 with the numbers aligned on the decimal point. How do I get the same behaviour in the colorkey of a levelplot? e.g. levelplot(matrix(y,3,3)) the numbers in the colorkey seem left-aligned, and