similar to: Contour plot

Displaying 20 results from an estimated 3000 matches similar to: "Contour plot"

2005 Feb 09
2
[Fwd: Re: Fw: Contour plot]
Petr, It works perfectly! But I still have a question; I have fit the following data; x,y,z 1,10,11 2,11,15 3,12,21 4,13,29 5,14,39 6,15,51 7,16,65 8,17,81 9,18,99 10,19,119 >dat.lm <- lm(z~I(x^2)+y, data=dat) >dat.lm Call: lm(formula = z ~ I(x^2) + y, data = dat) Coefficients: (Intercept) I(x^2) y 1.841e-14 1.000e+00 1.000e+00 How do I create the
2005 Feb 08
2
Fw: Contour plot
I understand that I need to have a (in this case) square matrix with all the data. But the question now is; - can the contourplot not interpolate the missing values or alternatively - I have fit a model to the z data (z = 100 + 0.5x + 0.5y). How can I make from this model a "square" matrix z to make a contour plot? Kind regards, Darius Blaszijk ----- Original Message ----- From:
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/
2013 Feb 14
1
Clip a contour with shapefile while using contourplot
Hi, I have done the interpolation for my data and I was able to create the contours in multipanel with the help of Pascal. Now, I want to clip the contour with the shapefile. I want only the portion of contour to be displayed which falls inside the boundary of the shapefile. The data mydata.csv can be found on https://www.dropbox.com/s/khi7nv0160hi68p/mydata.csv The data for shapefile can be
2009 Nov 19
2
plot filled.contour over continent map
Dear all, As a newbie in R I would like to do the following (simple?) thing: to plot a filled.contour plot over a map showing country boundaries (e.g. for Europe) What i do is: map('worldHires',xlim=c(-10,40),ylim=c(35,70),boundary = TRUE,border=0.1) map.axes() filled.contour(mslp, zlim=c(1000,1020),color.palette = colorRampPalette(c("blue", "white",
2009 Mar 15
1
Contour plots of four two-dimensional matrices
I have four large two-dimensional matrices of which I want to create contour plots. Something like filled.contour(<matrix>) contourplot(<matrix>) works but only gives me one plot at a time. If I combine the four matrices into one three-dimensional matrix, which I'll name "seven", there should be a way of doing something like this contourplot(seven[,,k] for k in 1 to 4)
2010 Jun 22
1
contour plots
Hi All, I'm having difficulty making a contour plot a would like some help. A standard contourplot can be made by having an x,y, and some matrix (shape x*y) with contents: x = 1:10 y = 1:10 cont <- matrix(runif(100,min=1,max=2),nrow=10,ncol=10) filled.contour(x,y,cont) Looks very nice. Sometimes data comes in a different format however. Basically an x and an y, and a vector z with all
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
2009 May 13
1
overlap contour
Friends, I have two covariance matrices (m1 and m2) of same size (150x150). I used contourplot function to make contour plots individually (c1 and c2). I am interested in making one contourplot overlapping the two individual contours so that the portion of the plot above and below the diagonal can represent the c1 and c2. Someone suggest me how can i do the same. Is there any way that i can
2004 Jun 07
1
contour lines on levelplot?
With "image" and "contour", one can get both colors and lines to enhance the image of a contour plot. What's the best way to do this with Lattice graphics? The following is one ugly hack, producing the desired result after much trial and error (R 1.9.1 alpha under Windows 2000): # setup DF <- expand.grid(x=1:3, y=1:3) DF$z <- (DF$x+DF$y) # Traditional
2003 Jan 15
2
Contour Plots
r-help, I can't seem to get the below data organized in such a manner so as to generate a contour plot using any of the functions {lattice.contourplot, base.contour, base.filled.contour}. I was wondering if anyone could please tell me what I need to do to accomplish this. X,Y,Level -31.105,86.911,3843 -3.385,86.911,3896 24.335,86.911,3874 -24.175,79.700,3900 -3.385,79.700,3927
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
2007 Sep 12
1
plot contour map for irregular data points
Hello, I'm dealing with the following problem: I have a table with x and y coordinates and corresponding values of a mineral concentration, let's call it z. Can someone provide me a short step-by-step manual for the steps necessary to get a contour map? How to sort and interpolate my matrix to an equidistant grid which can afterwards be plotted by contour(x,y,z)? (e.g. fill the
2007 Jul 24
3
Overlaying a single contour from a new data array in levelplot
Dear R-Help community, I am trying to overlay a single contour line over a correlation plot using levelplot in the lattice package. These are the two arrays: 1) a correlation plot over Africa - so each grid square is a different colour dependent on correlation - this is in an array: result_cor with dim[465,465] 2) a single contour line from a ***different data source*** - this is from data
2012 Jul 18
4
contour
Hello Everyone I have the data long format and I want to draw the contour plot with it x1 x2 x3 0 1 2 0 2 1 0 3 5 1 1 4 1 2 2 1 3 3 when I am using contour(x1,x2,x3,col=heat.colors) or fill.contour its giving me an error that increasing x and y expected So please tell me what is the right function to draw contour when the data is not ordered and you cant order
2008 Aug 25
1
contour plots
Hello, I want to make a contour plot. I have a matrix (nrow=4,ncol=58) . and two lists, one with 4 values (the depths) and one with 58 values (time in days)( Depth (should be later on the y-axis),and Time(should be later on the x-axis)) In the matrix there is the temperature for a specified depth and time. there are missing values (NAs). I also put ranges for x-,y-,zlim. I
2010 Sep 27
1
smooth contour lines
Is there an easy way to control smoothness of the contour lines? In the plot I am working on due to the undersampling the contour lines I am getting are jugged, but it is clear "by eye" these should be basically straight lines. In maps package I found smooth.map function, but maybe there is a more generic way of accomplishing the same thing. Ideally there would be an option to control
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
2005 May 06
2
plotting image/contour on irregular grid
Hello, I'd like to make a z(x,y) plot for irregularly spaced x,y. What are routines are available in R for this purpose? Thanks, Mark
2009 Aug 19
1
Lattice: Drawing a single contour line with a negative value fails
Hi everybody, I want to add a single contourline to a levelplot. While everything works fine if the value at which the line should be drawn is positive, there is an error if the value is negative: library(lattice) my.panel <- function(..., at, contour=FALSE, labels=NULL) { panel.levelplot(..., at=at, contour=contour, labels=labels) panel.contourplot(..., contour=TRUE,