Displaying 20 results from an estimated 5000 matches similar to: "Labelling contour lines"
2004 Nov 04
1
Specifying error terms in aov and lme
I need to specify error terms properly in a mixed-effects anova model. I
know you can add error terms in aov using Error and can specify random
factors in lme but I am not sure how these get treated.
When making the calculations for fixed and random factors, are the correct
error terms used and how can you get aov or lme to use different error
terms for fixed and random effects?
I'm
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
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:
2012 Jul 03
1
saving contour() plot info
{ I think this message got rejected at the 1st attempt - trying again}
R 2.15.1 , windows XP
I have a very non-stationary bivariate time-series - say {xt,yt} t=1 ... lots.
I want to do a bivariate density contour-plot of the whole series and then step
through the series 1 second at a time plotting that second's {x,y} subset on top of the contour
plot and losing the previous
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
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 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
2003 Jul 06
1
Printing multiple graphics devices
Hi
I'm using a function (arrayview from the maanova package) that produces
12 plots, all in separate windows. How can I get each one to print to a
jpeg file as the plots are produced? Alternatively, is it possible to
get dev.print (jpeg.....) to print all open graphics devices to separate
windows?
Thanks in advance,
Nat Street
--
Nathaniel Street
University of Southampton
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
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
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
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
2010 Sep 15
2
Contour line coordinates
Hi all,
I used contour() to add contour lines to a plot. Now I?m wondering if there is a way to get an output of the calculated x- and y- coordinates of the contour lines?
Tonja
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
1998 Dec 03
2
contour labelling [was "Re: image ()"]
> From: Martin Maechler <maechler at stat.math.ethz.ch>
> To: royle at bearmtn-e0.cgd.ucar.edu
> CC: lgygax at access.unizh.ch, r-help at stat.math.ethz.ch
> Subject: contour labelling [was "Re: [R] image ()"]
> Mime-Version: 1.0 (generated by tm-edit 7.106)
>
> >>>>> "Jeffrey" == Jeffrey A Royle <royle at bearmtn-e0.cgd.ucar.edu>
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
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
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 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:
>>>
>>>> >
2007 Apr 25
0
Split column of concatenated data
Hi
I have a column of concatenated information stored in an RG object in the limma package and I need to split this information and then paste the first two pieces of data in each case back into two columns of the RG object.
This is how I am currently doing this
gene.info.split<-strsplit(RG$genes$Name,",",fixed=TRUE)
for (h in 1: length(gene.info.split)){