search for: contours

Displaying 20 results from an estimated 793 matches for "contours".

Did you mean: contour
2010 Nov 23
6
Filled contour plot showing labeled isolines?
Is it possible to create a contour plot with the isolines labeled. I know you can do this with Matlab. Argh! I tried creating a filled contour plot, then using par(new=T), followed by overlaying the contour plot on top. However, the placement of the filled contour plot and the contour plot do not align correctly. Any suggestions would be appreciated. Thanks, Jon -- View this message in
2002 Dec 14
1
adding contour lines to a filled.contour
...lines paints them over both plots. Any suggestions? Thanks, Andy #~~~~~~~~~~~~~~~~~~~ #example junk.mat <- matrix(rnorm(1600), 16, 100) filled.contour(junk.mat, color = terrain.colors) #set values < 2 to zero contour.mat <- ifelse(junk.mat < 2, 0, junk.mat) #add contours contour(contour.mat, levels = 1, drawlabels = F, axes = F, frame.plot = F, add = T)
2006 Feb 12
1
contour lines for levelplot
Hi, I would like to add contour lines to a (trellis/lattice-) levelplot. Sure, there is the "contour=TRUE" argument, but this uses "cuts=..." (which is usually chosen very high for my plots. I guess cuts=99 is the best you can do (?)) for plotting the contour lines. Furthermore, I do not like the numbering of the contour lines this way. Therefore, I tried to add a
2003 Jul 27
1
contourplot:how to get it to label all contours like 'contour'
...each particular elevation a single time. i.e., if there are two contour lines corresponding to z = 45, it will only label one of them. is there a way to get contourplot to automatically label all the contour lines, even those that are repeated? i ask because i want to plot contour plots *w/ all contours labelled*, next to wireframe plots-- i can plot two lattice plots (wireframe and contourplot) next to each other easily enough, but contourplot doesn't label all contours. AND, i can get contour to label all of 'em, but then i don't know how to put an 'Old Style' contour plo...
2004 Jan 31
1
about contour - get contour coordinates - exclude area display
Dear all, I wonder about what could actually be possible with the function "contour": 1/ - the definition of contour lines is most often meaningless when the contours are drawn in areas where no real data points exist. It can however happen that irregular distributions lead to more or less irregular clouds of data points. Interpolations (eg: loess regression, GLM, etc...) are however generally made on regular grids passed to the function contour and thus can co...
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
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:
2003 Mar 19
2
Center of Closed Contour
...ans of the contour utility in R, I am able to produce an image of a contour, but I am seeking a procedure which will produce the coordinates of the center of mass of the contour. From my actual set of data, the contour utility will produce several hundered closed non-intersecting and non-concentric contours like a lattice of disks. I want the location of those disks via a program. Is there any package in R which will lend itself to this problem? Thank you, Charles Fleming
2013 Mar 08
3
2D filled.contour plot with 1D histograms by axes
Hi everyone, I hope this question is beyond "read the manual". My task is simple, just to plot the following, but the plot in the middle should be a filled.contour plot: http://gallery.r-enthusiasts.com/graph/Scatterplot_with_marginal_histograms_78 Background: I prefer filled.contour rather than hist2d. Because, I could use kernel smooth, so the plot for discrete data won't be too
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,
2009 Nov 22
1
contour(): lines & labels in different colours?
...green at low levels of "risk" to red at high levels). In any case, contour labels in red are already somewhat inconspicuous with contour lines in red, regardless of background. I see nothing in ?contour nor in ?par about this. One way to approach it could be to first draw the labelled contours in black, and then overlay by re-drawing (with out labels) in red. This would sort-of work, but the red contour lines would then cut through the black numbers, which is somewhat undesirable. Also (I've tried it) you can get show-through along the contour lines from the black layer, which is nas...
2004 Nov 04
1
Labelling contour lines
...ave two problems: 1) The contour gets plotted at right angles to the jpeg image. I guess this is a problem of referencing the start and end points of the image matrix but I can't see how to over come this other than loading in a second image that has been rotated 90 degrees and plotting the contours on the non-rotated one (obviously a bad solution) 2) I want to be able to select a single contour after they have been drawn. I know there is contourLines but I can't see how to relate this to the contours plotted. In matlab there is a function to label contours so that they can be called...
2005 Feb 08
3
Contour plot
Hello, I would like to make a contourplot of the following data; > x <- 1:10 > y <- 1:10 > z <- 100:110 By doing >contour(x,y,z) I get the following error; "Error in contour.default(x, y, z) : no proper `z' matrix specified" How do I fix this?? Kind regards, Datius Blaszijk [[alternative HTML version deleted]]
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
2009 Oct 22
1
contour() & contourLines()
Hi Folks, I have been using contour() to produce some contour plots (of a spatially-smooted density produced by kde2d()), with very satisfactory results. I now want access to the coordinates of the points on the contours, and it would seem that contour() does not return a value, so there is nothing from which these could be extracted. However, apparently contourLines() does, and it seems to be invoked in essentially the same way (so far as the x,y,z and levels parameters are concerned). However, I am not sure whe...
2004 Feb 03
4
filled maps
Hi R-Help, I would like to make filled contour maps of ocean data overlaid by costlines from the map package. I can draw the filled contours and the coastlines om the same plot, but the filled contour also covers part of the land. To get rid of that I tried to draw a filled coastline map on top of the filled contour, but the filled map only draws the closed contours - so most of the land is missing. Example: map("worldHires",x...
2009 Nov 28
3
extract coordinates from contour lines
To everyone, Is there a way to extract coordinates or an equation from a "straight" contour line? Thanks. Cheers Julius Tesoro
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,
2009 Jan 06
3
smoothed contour lines
Hi all, I'm trying to draw a contour plot with rounded (smoothed) contour lines instead of sharp angles; when the grid consists of only a few points in x- and y- axis, the resulting contour is in facts rather ugly since very sharp angles may appear. I did not find any way to do it, by using either "contour" or "contourplot" (from the lattice package), I wonder if there
1999 May 10
1
dotted contour line for negative values?
...ay to do this with R? If not, can anyone suggest a way to make interpretation of the contour plot easier? (Right now, it is not clear if a set of "tree rings" in a plot indicate the presence of a peak or a trough) I am thinking that it might be possible by making one plot of the positive contours with lty="solid", add=TRUE, then superimpose the negative contours with lty="dotted". The snag is: how to get only the positive or negative contours? Thanks very much for any help. Bill Simpson -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-...