Displaying 20 results from an estimated 10000 matches similar to: "contour(): lines & labels in different colours?"
2012 Jan 21
1
contour(): Thickness contour labels
Hi,
I want to display some contour labels. It works well, but the thickness of
the label is to low. I tried the "labcex" command
contour(x,y,z, labcex=2)
But only the size is rising and not the thickness of labels. Only if i set
the value to "labcex=10" the thickness is good, but the size is to big, so
i can't see anything ;)
Is there any command to rise the thickness
2000 Feb 16
2
contour() labels (PR#441)
R-0.99.0a now plots contour labels from contour(), but the values in
levels seem to be coerced to integer.
Reproduce by:
> set.seed(2)
> contour(matrix(runif(36),nrow=6), labcex=1.2)
and compare with:
> set.seed(2)
> contour(matrix(10*runif(36),nrow=6), labcex=1.2)
Ray Brownrigg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list --
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
2003 Jun 26
1
Fonts on contour maps...
Hello All,
I am drawing four contour plots on a 2x2 layout. I need to downsize the
contour line labels. cex and labcex do not seem to work. Any suggestions?
Thanks,
John.
--
--------------------------------------------------------------------------
Dr. John Janmaat
Department of Economics, Acadia University, Wolfville, NS, B4P 2R6
E-mail: jjanmaat at acadiau.ca Web:
2011 Mar 22
1
ks and contour plot labels
Is there an easy way to control the font size for the contour lines
in plots of kde objects in package ks?
The label size seems not obey the cex parameter (which probably
would be the R way of doing it).
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:
2003 Jun 06
1
Contour plot question
In a contour plot having numeric values displayed
next to the contours, is it possible to modify these
numeric values so that they are bolded, enlarged,
and/or placed differently?
Much thanks in advance,
David Paul, Ph.D.
Battelle Memorial Institute
614.424.3176
2011 Aug 31
1
unequal bins in filled.contour
Hello,
I am trying to plot SADIE red-blue plots of cluster indicies using
filled.contour. I want a plot which only has three bins for the data:
<-1.5, -1.5 - 1.5, >1.5, but I am having trouble getting there.
example
X1 X2 X3 X4 X5
1 -5 -4.5 1.0 4.5 6
2 -3 -2.0 1.2 -1.0 3
3 0 0.0 0.0 -0.5 -1
4 -2 -3.0 1.0 1.5 3
5 -6 -2.0 0.5 3.0 2
example<-as.matrix(example)
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/
2000 Jan 17
1
lwd patches for "contour"
I found it useful to have contour be able to do line widths ... hope
that the guts haven't changed an enormous amount in the current
development version ... the patches are relatively trivial, mostly going
by analogy with lty and col (although in my ignorance it took me a while
to figure out what UNPROTECT(2) was and why it should be changed to
UNPROTECT(3) ... hope this is useful.
Ben
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
2008 Jul 16
2
Labelling curves on graphs
Hi Folks,
I'd be grateful for good suggestions about the following.
I'm plotting a family of (X,Y) curves (for different levels
of another variable, Z): say 6 curves in all but could be
more or less -- it's a rather variables situation.
I'd like to label each curve with the value of Z that it
corresponds to.
The problem is that the layout (shapes, spacings, ranges
of X over
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
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
2012 Mar 23
1
Cambiar tamaño de la etiqueta en un contour plot
Estimada comunidad, otra vez con una pregunta de formato, existe una forma
simple (complicadas ya he encontrado) de cambiar el tamaño de las etiquetas
de las lineas de contorno en un contour plot ??
de las posibilidades simples he probado con todas las opciones para
etiquetas en par() pero las del interior del grafico no cambian
muchas gracias,
saludos, eric.
--
Nota: las tildes se han
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
#~~~~~~~~~~~~~~~~~~~
2003 Jun 27
2
Returning contour co-ordinates
Dear R-helpers,
I'd like to be able to post-process contours coming from contour(). Does
anyone have a version of contour() (or something similar) which will return
the contour coordinates?
In searching the archives I've come across a message in Nov 01 which had
this on a wish-list, but I can find no later reference.
With thanks,
John Field
Adelaide, South Australia
2008 Oct 01
1
add labelled contour lines to filled.contour plot
Is it possible to add labelled contour lines to filled.contour plot ?
[[alternative HTML version deleted]]
2003 Dec 14
1
contour() should handle the asp parameter
Hi all,
To my knowledge, the current version of contour.default() does not handle the 'asp' parameter. This can be embarassing when displaying eg geographical maps, etc... Submitted to the opinion of more experienced R programmers, contour.defaut() function should be changed according to the followings:
line 7: add = FALSE,asp=NA,...)
line 33: plot.window(xlim, ylim,
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