similar to: wrong axis scale when plotting on a filled.contour plot (PR#3599)

Displaying 20 results from an estimated 9000 matches similar to: "wrong axis scale when plotting on a filled.contour plot (PR#3599)"

2003 Jul 30
1
wrong axis scale when plotting on a filled.contour plot (PR#3596)
Full_Name: Marco Gruteser Version: 1.7.1 OS: Win XP Submission from: (NULL) (129.34.20.16) Let's generate a dummy filled.contour plot > x <- 1:10 > y <- 1:10 > z <- array(rep(0, times=100),dim=c(10,10)) > filled.contour(x,y,z) And try to add some points to it, e.g. > points(8,2) > points(6,2) The points show up misaligned with the axis somewhere at 9.9,2 and
2007 Jan 19
1
x-axis in filled.contour
The filled.contour function gives me some strange output. What did I do wrong? x=seq(0,1,length=10) y=seq(0,1,length=10) z=array(rnorm(100),dim=c(10,10)) filled.contour(x,y,z) lines(0.4,0.8,type="p") abline(v=0.4,lty="dashed") the x-cooridnate of the line and the point is 0.4, but it's slightly above. This problem just appears with "filled.contour", so I guess
2008 Feb 17
2
filled.contour with log axis
Dear all, I would like to generate a filled.contour plot with log x and y axis, however using: filled.contour(as.line,log="xy") results in a warning message. Does anybody knos what to do? Thanks Thomas
2010 Mar 23
1
filled.contour formatting questions
Hello, I'm having some trouble getting things to look as I want with filled.contour. 1. My first issue is that I am unable to add line segments to my plot where I want them. Using the rug pattern example: x <- y <- seq(-4*pi, 4*pi, len = 27); r <- sqrt(outer(x^2, y^2, "+")); filled.contour(cos(r^2)*exp(-r/(2*pi))); segments(0.2,0.2,1,0.2); The line segment is not found in
2009 Feb 28
2
filled.contour and time axis
Dear all, I am using filled.contour and my x-axis consists of a vector of dates, formatted using as.POSIXct. When I assign this vector to x in filled.contour, the x-axis in the plot is correctly formatted as dates. However, when I use plot.axes=axis(1) in filled.contour the x-axis is not correctly formatted. I need to opt for the latter because I want to add additional lines and points to the
2006 Feb 13
2
Plotting contour & filled.contour in one graph
Dear All, I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:
2002 Nov 26
1
filled.contour and points
I was trying to add points to filled.contour plots, but the points(...) function apparently uses a different coordinate system than the filled.contour(...) function; it appears that points(...) paints points where they would be if the contours were stretched over the whole plotting frame including the legend bar. Am I missing something or is it a "misalignment" in the code? BTW, I have
2002 Dec 14
1
adding contour lines to a filled.contour
Hi all, Does anybody know how to add contour lines to a filled contour plot? I want to draw a single contour around values that are above a certain level (e.g., significant). The problem I'm having is that since the filled.contour command actually draws two plots (data and the key), adding contour lines paints them over both plots. Any suggestions? Thanks, Andy #~~~~~~~~~~~~~~~~~~~
2005 Jan 14
2
contour and filled contour plots
Hello, I'd like to remove color bar from "filled.contour" plot. Is it possible and how? I also want to overlay "contour" plot on filled.contour but due to scaling of the "filled.contour" to account for the color bar, aspect ratio for "contour" is different from "filled.contour". Can this problem be solved? Thanks, Mark
2013 Nov 11
0
Diferencias entre contour y filled.contour
Hola a todos: Yo pensaba que la diferencia entre contour y filled.contour radicaba, simplemente, en que la segunda pintaba con colores los espacios entre las curvas de nivel, pero haciendo lo de abajo aparecen diferencias require(gplots) celdas <- 5 m <- matrix(10,celdas,celdas) m[3,3] <- 20 m[2,2] <- 20 m[1,] <- m[celdas,] <- m[,celdas] <- m[,1] <- 20 image(m,asp=1)
2008 Aug 08
1
Axes in filled.contour plots
I am attempting to create a contour plot using R with this code: > contour <- as.matrix(read.csv("contour.csv", row.names=1, header=TRUE)) > library(gplots) > filled.contour(contour, main="Flume 1 Flow Velocities") Now this produces the image/plot that I am looking for perfectly. However, the both axes only go from 0 to 1 instead on of using the row and column
2011 Feb 11
2
Using filled.contour and contour functions together
Dear R help contributors, I'd like to plot ground temperature with time on X-axis and depth on Y-axis on this datasets ( http://r.789695.n4.nabble.com/file/n3301033/NEdaily.csv NEdaily.csv ), and to do so I use the following commands: library(RSEIS) xNE <- seq(1, as.numeric(as.Date(max(NEdaily[[1]])) - as.Date(min(NEdaily[[1]]))), 1) yNE <- rev(c(-0.3, -0.5, -0.7, -0.9, -1.1,
2011 Mar 02
1
pb with Date format using filled.contour
Hi R-help community, Can anyone tell me why, while using : x <- seq(as.Date("2001-01-01"),as.Date("2001-01-01") + nrow(volcano)-1,1) y <- seq(1, ncol(volcano),1) when I plot the volcano matrix with that command : filled.contour(x,y,volcano) the graph has a Date format on X-axis, ok ... ... but when adding a contour plot to the filled contour, using this
2006 Aug 31
0
alpha-channel transparency in filled.contour
Greetings I am currently using R to produce contour plots of a given variable via "contour", together with a hacked* version of filled.contour to shade several regions of the plot. As the regions overlap, I am using colors with alpha-channel values of ~0.1 together with the pdf device (version="1.4"). The transparency works well. However, a white grid is superimposed over
2008 Mar 13
2
Plot contour over filled contour
Dear R-users, I haven't found a way in the searchable archive to overplot a contour (lines) over a surface. I have a (n,m) matrix that represents sea surface temperature that I have plotted using image.plot(), filled.contour() or image(). I would like to overplot this image with some contour lines of mixed layer depth values(same size matrix). How can I do this? Any help is appreciated,
2010 Nov 21
1
Possible to "add" filled.contour(...) to existing plot?
By any chance is it possible to "add" filled.contour(...) to an existing plot like you can do using image(..., add = TRUE). I looked at the filed.contour(...) and levelplot(...) documentation, but it didn't seem to be possible. I would like to add filled.plot(...) as shown below instead of using the image(...). Filled.contour seems to provide the smoothing interpolation
2008 Apr 23
4
filled contour plots
hello everyone, I was wondering if anybody can help me solve 2 problems related to the function filled.contour. I am entering the following R command: filled.contour(xx,yy,P1, nlevels=20,color=cm.colors, plot.axes={ contour(xx,yy,P1,add=T,col="grey", nlevels=20, drawlabels=F) axis(1,1:length(xx),labels=xlabels)
2011 Apr 01
1
filled contour plot with contour lines
I'm stumped, can anyone find my error in this sequence. for(j in 1:(varsize[4]-1)) temp <- get.var.ncdf(nc=input, varid="p_foraging",c(1,1,j),c(varsize[1],varsize[2],1)) filled.contour(x, y, temp, color = terrain.colors, plot.title = title(main = paste("Everglades Wood Stork Foraging Potential \nYear", (2000+j)), xlab =
2011 Aug 31
1
unequal bins in filled.contour
Hello, I am trying to plot SADIE red-blue plots of cluster indicies using filled.contour. I want a plot which only has three bins for the data: <-1.5, -1.5 - 1.5, >1.5, but I am having trouble getting there. example X1 X2 X3 X4 X5 1 -5 -4.5 1.0 4.5 6 2 -3 -2.0 1.2 -1.0 3 3 0 0.0 0.0 -0.5 -1 4 -2 -3.0 1.0 1.5 3 5 -6 -2.0 0.5 3.0 2 example<-as.matrix(example)
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);