similar to: Contour on top of 2d histogram

Displaying 20 results from an estimated 6000 matches similar to: "Contour on top of 2d histogram"

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
2000 Mar 26
2
hist2d() function in R?
Dear R users, I am just starting with R (v. 1.0.0) and I use Vehables & Ripley's MASS book for examples. In the intro session, there is an example of a 2D histogram on an 8x8 grid: x <- rnorm(1000) y <- rnorm(1000) contour(hist2d(x,y,,,8,8)) R complains: Error in contour(hist2d(x, y, , , 8, 8)) : couldn't find function "hist2d" I looked for hist2d() in the
2008 Jun 25
1
confidence bounds using contour plot
Hello I'm trying to calculate 2d confindence bounds into a scatterplot using the function "kde2d" (package MASS) and a contour plot. I found a similar post providing a solution - unfortunatly I do not realy understand which data I have to use to calculated the named "quantile": Post URL: http://tolstoy.newcastle.edu.au/R/help/03b/5384.html > (...) > >> Is
2006 Feb 06
2
panel.levelplot() for 2D histograms
Dear R-wizards, I'm trying to plot "binned scatterplots", or 2d histograms, if you wish, for a number of groups by using the lattice functionality it works fine for one group at a time, and probably I could find a work-around, but I prefer to do it the elegant way here's an example of what I want, what I tried and where it goes wrong: require(gregmisc) require(lattice) #toy
2006 Apr 05
1
Bin by bin histogram comparisons
Hello, I have created two histograms with: hist2d(gps2, nbins=200, col = c("white",heat.colors(16))) Both of them have the same range and the same number of bins. Now I would like to compare them bin by bin and plot the results. Could someone please tell me how to do that. I searched the man pages and the web, but couldn't find anything. Thank you very much. Phil
2009 Aug 03
1
hist2d
I'd like to use the hist2d function. What library contains it? Thanks! Simon Firestone Economist, Fair Lending Enforcement Division of Consumer and Community Affairs Federal Reserve Board Washington, DC 20551 simon.b.firestone@frb.gov (202) 785-6056 [[alternative HTML version deleted]]
2005 Jul 15
1
2D contour predictions
Hi All I have been fitting regression models and would now like to produce some contour & image plots from the predictors. Is there an easy way to do this? My current (newbie) experience with R would suggest there is but that it's not always easy to find it! f3 <- lm( fc ~ poly( speed, 2 ) + poly( torque, 2 ) + poly( sonl, 2 ) + poly( p_rail, 2 ) + poly( pil_sep, 2 ) + poly( maf, 2
2009 Apr 08
1
vectors on top of contours, and lattice
OK, I needed to plot a set of vectors on top of a contour plot. I figured out a way to do this. I create a panel function that calls "larrows()" with arguments constructed from my vector data. Then, when I go to do the contour plot, I call contourplot() with the "panel" argument set to point to my newly created panel function. So far, so good. Now, I need to do a
2002 Oct 01
2
R-gui
I discover last week the R software statistics programm, I have a small questions, When we generate a bivariate normal distribution is it possible to plot the generate distribution. The second one if there is a code to generate a bivariate student distribution. If yes i would ask you gratefully a help. Thank you very much
2002 Jun 18
0
2d histogram interpolation
Hi ! I want to find the surface the interpolates a 2D histogram, that I have generated with hist2d. I don't want to make a fit, but simply an interpolation. Which function have I to use to do this ? Thanks in advance. Paola. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
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
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:
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,
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
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,
2003 Jul 27
1
contourplot:how to get it to label all contours like 'contour'
Hi, one of the nice things about contour is that it labels all contour lines. contourplot only labels 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/
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
2003 Mar 19
2
Center of Closed Contour
I am searching for a utility in R which will determine the mean location of a closed contour and eventually record the location in an ASCII file. By means 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
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