Displaying 20 results from an estimated 20000 matches similar to: "Contour line coordinates"
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
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
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
2004 Nov 04
1
Labelling contour lines
I am using contour to draw contour lines onto a photo (jpeg) of a leaf on
a white background.
I have 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
2010 Sep 06
1
extracting x,y coordinates from a contour plot
Requisite info: R version 2.11.1 (2010-05-31) running on a 64 bit HP Windows
7 machine.
Greetings, R-ians:
I have used contour() for several years. Now I would like to extract from a
contour plot the x, y coordinates of a contour z=constant. This seems as
though it would be straight-forward but I''ve been unsuccessful in my
searches of CRAN.
Can anyone provide a hint?
2008 Jun 19
1
contour plot - line passing through z values
Dear all,
there is much in these forums about adding a line to a
contour/filled.contour plot, but I haven't found hints for the following. I
apologize in advance if I just missed the right one.
I'm having a standard filled.contour plot to which I want to add a line
passing through some specific z-values at some specific x, without knowing
the y coordinates. There should be a way of
2011 Jan 17
1
intercept point coordinates
Hi List,
Can someone help me to calculate the coordinates of the red and green points? In this
example I found their approximate location by trying, but as I have to analyse
many similar curves, I?d rather calculate the exact location.
data<-
c(0.008248005, 0.061242387, 0.099095516, 0.189943027, 0.227796157, 0.258078661,
0.280790538, 0.303502416, 0.386779301, 0.454914934, 0.545762445,
2024 Jan 11
4
arrow on contour line
Hello,
I am drawing contour lines for a function of 2 variables at one level of
the value of the function and want to include a small arrow in any
direction of increase of the function. Is there some way to do that?
Below is an example that creates the contour lines. How do I add one small
arrow on each line in the direction of increase of the function (at some
central point of the contour
2013 May 16
1
Contour lines in a persp plot
Hello folks,
i'm a R beginner and i want to put in a same plot both contour lines
and persp plot.
For example,
fn<-function(x,y){sin(x)+2*y} #this looks like a corrugated tin roof
x<-seq(from=1,to=100,by=1) #generates a list of x values to sample
y<-seq(from=1,to=100,by=1) #generates a list of y values to sample
z<-outer(x,y,FUN=fn) #applies the funct. across the combos of x
2008 Dec 09
1
Polar coordinates - contour plots
Hello,
I have data for contour plot which is given in polar coordinates. Is
there a straightforward way to plot in polar coordinates in R, or do i
need to fiddle with transformations and then to sort the x and y
vectors to be in ascending order as required by contour function and
relatives?
Cheers,
Todor
2009 May 27
1
contour lines on persp plot
Hello folks,
I am a beginner R user. I have been able to make a 3D surface plot using
'persp'. The surface is made by a grid of lines emanating perpendicularly
from each of the x and y axes at regular intervals.
I can get rid of that grid by setting 'border=NA'.
Can anyone suggest some ways to replace the grid with contour lines, to
create a 3-dimensional contour map?
Thanks
2011 May 23
3
Get contour of a map
Hello everybody,
I search a function which returns the contour of map with levels like contourLines, but I would like this function return the border of the map too, because the function contourLines cannot consider the corner of the map and it is not adapted to fill polygon after that.
Thanks in advance
Pierre Bruyer
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 Sep 13
2
ountour "resolution"
Greetings all!
I'm wanting to plot contours of a function, and I don't
want to evaluate it at a dense grid of points (i.e. I don't
want a huge array of values).
Say I have a vector of x-values such as x <- 0.1*c(1:10),
and the same for y <- 0.1*(0:10).
I then evaluate a 10*10 matrix z of values of z = f(x,y).
so I can then do
CL <- contourLines(x,y,z)
and get a list of
2010 Aug 06
1
[R-SIG-Mac] Question about line type in contour() function (R 2.11.1)
On 05/08/2010 8:46 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote:
> On Aug 5, 2010, at 5:20 PM, Duncan Murdoch wrote:
>
>> On 05/08/2010 7:18 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote:
>>> I'm running R 2.11.1 (MacBook Pro and OS X 10.6.4) and am trying to set a line type in the contour() function. What I did was:
>>>
>>>> >
2011 Dec 22
1
overlaid filled contour plots
I'm trying to make a set of contour plots of bivariate kernel density
estimates, showing three such plots overlaid,
similar to this plot
http://euclid.psych.yorku.ca/SCS/Private/Test/ridge-boot2.pdf
except that I would like to have the contours *filled* (using
transparent colors). To make this reproducible, I've
saved the results of KernSmooth::bkde2D() in the following file:
2011 Mar 22
3
Accelerating the calculation of the moving average
Dear List,
I have a data frame with approximately 500000 rows that looks like this:
?Date??? time??? value
?
19.07.1956????????? 12:00:00?????????????? 4.84
19.07.1956????????? 13:00:00?????????????? 4.85
19.07.1956????????? 14:00:00?????????????? 4.89
19.07.1956????????? 15:00:00?????????????? 4.94
19.07.1956????????? 16:00:00?????????????? 4.99
19.07.1956????????? 17:00:00?????????????? 5.01
2012 Feb 09
2
Lattice 3d coordinate transformation
Hello List!
I asked this before (with no solution), but maybe this time... I'm
trying to project a surface to the XY under a 3d cloud using lattice.
I can project contour lines following the code for fig 13.7 in
Deepayan Sarkar's "Lattice, Multivariate Data Visualization with R",
but it fails when I try to "color them in" using panel.levelplot.
?utilities.3d says there
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
2017 Nov 15
2
ks.test() with 2 samples vs. 1 sample an distr. function
Dear all,
I have a question concerning the ks.test() function. I tryed to calculate the example given on the German wikipedia page.
xi <- c(9.41,9.92,11.55,11.6,11.73,12,12.06,13.3)
I get the right results when I calculate: ks.test(xi,pnorm,11,1)
Now the question: shouldn't I obtain the same or a very similar result if I commpare the sample and a calculated sample from the distribution?