search for: filledcontour

Displaying 9 results from an estimated 9 matches for "filledcontour".

2010 Nov 22
0
Problems using Internal filledcontour: "dimension mismatch"
In order to gain a bit more control over the fill contour functionality I'm trying to use the Internal filledcontour function. I wasn't able any documentation on this function and only one reference to it. I believe the code shown below is close because all the dimensions seem to be correct, but I'm still getting a "dimension mismatch" error and the filled contour doesn't occur. H...
2013 Mar 08
3
2D filled.contour plot with 1D histograms by axes
...illed.contour rather than hist2d. Because, I could use kernel smooth, so the plot for discrete data won't be too ugly. I also tried image() and then contour(), but the number on contour is not clear and no indication about the color. My problem: in filled.contour function, it uses layout() for filledcontour() plot and rect() plot (color bar). However, I use layout() in the outside code to organize 2 histogram and one filled.contour plot. Looks like, the layout outside is shadowed by filled.contour(). I am not sure how R deal with this problem. Should I rewrite filled.contour() somehow? Thank you very...
2004 May 06
1
Problem with filled.contour/image
...d<-sort(unique(map$long) lat.grid<-sort(unique(map$lat) map.matrix<-matrix(map$height,nrow=length(lat.grid),byrow=TRUE) The problem is when I type the filled.contour command I get the following error message: filled.contour(long.grid,lat.grid,t(map.matrix),color=terrain.colors) Error in filledcontour(as.double(x), as.double(y), z, as.double(levels), : dimension mismatch and when I try using the image function: image(long.grid,lat.grid,t(map.matrix),col=terrain.colors(50),axes=TRUE) I get the following error: Error in image.default(long.grid, lat.grid, t(map.matrix), col = terrain.co...
2007 Feb 22
3
several Filled.contour plots on the same device...
hello - a question about filled.contour plots, for which i haven't found a response in previous posts - sorry if already treated. i'd like to draw several filled.contour plots (that is, maps) on the same device (a postscript file, actually). I know about layout(matrix) , split.screen or par(mfrow) : it works well for simple plots, but with filled.contour plots, i get several pages
2006 Aug 31
0
alpha-channel transparency in filled.contour
...lified code to reproduce the grid effect is below. An earlier attempt to draw the regions with "rect" had a similar problem, which was fixed by setting the density parameter to -1 to disable shading. The filled.contour function has no such parameter, nor does the .Internal call to "filledcontour" used to actually draw the contours in my hacked version. Is there an easy way to fix this (like some other way to set the density parameter), or another way to draw a filled region between two levels in a contour plot that would allow for alpha-channel transparency? Much Thanks. Brant...
2012 Jul 04
2
help with filled.contour() -
Dear all, I can't figure out a way to have more than one plot using filled.contour() in a single plate. I tried to use layout() or par(), but the way filled.contour() is written seems to override those commands. Any suggestions would be really appreciated. Jonathan [[alternative HTML version deleted]]
2012 Apr 22
2
contour algorithm
First time user, so sorry if I don't understand protocol.. Anyway, I have created a data frame consisting of pearson's R values at various x and y coordinates and then plotted this using filled.contour. My data is similar to fMRI data except that it is a surface map reconstructed from histological sections. I like the results but would like to know how contours were detected. Google search
2002 Nov 19
1
Another plot question
Here is another, perhaps trivial, plotting question. I am making a filled contour plot and have almost everything dialed in the way I want it. The last hurdle (that I can foresee) is adjusting the look of the key. I'm plotting the 25%, 50%, 75%, and 95% quantiles and I want the key to be evenly spaced, e.g., the width of the 25% and the 95% should look the same on the key. They are labeled
2007 Jan 01
4
Help with filled.contour()
The following plot is a first approximation to what I need: *********************************** mu1 <- 0 mu2 <- 5 s <- 1 x <- seq(-2.5, 7.5, length = 41) y <- seq(-2.5, 2.5, length = 41) f <- function(x,y){ term1 <- 1/(2*pi*sqrt(s*s)) term2 <- -1/2 term3 <- (x - mu1)^2/s term4 <- (y - mu1)^2/s term5 <- (x - mu2)^2/s term1*(.5 * exp(term2*(term3 + term4)) + .5 *