similar to: contour labelling [was "Re: image ()"]

Displaying 20 results from an estimated 5000 matches similar to: "contour labelling [was "Re: image ()"]"

1998 Dec 04
1
contour labelling [was "Re: image ()"]
> From: Bill Simpson <wsimpson at uwinnipeg.ca> > Subject: Re: contour labelling [was "Re: [R] image ()"] > MIME-Version: 1.0 > > > We may be missing the crux here: was it to have a means of > > displaying such surfaces? > > Yes, bang on. I knew of the > existence of the Delaunay code in the R libraries. Yes I want > to make a picture that
2007 Jan 04
5
color of opposite sign values in filled.contour
Dear R-helpers, I'm plotting geophysical data in the form of contours using "filled.contour". The display would be much more effective if the areas with negative values could be color coded by -- say -- "cold colors" in the range of blue to green, and conversely the areas with positive values got plotted with "warm colors", from yellow to red. Right now if I use
2001 Nov 21
2
contour as a generic function?
After "image" and "persp" would it be interesting to als have contour as a generic function? Cheers Paulo Justiniano Ribeiro Jr Dept Maths & Stats - Fylde College Lancaster University Lancaster LA1 4YF - U.K. e-mail: Paulo.Ribeiro@est.ufpr.br http://www.maths.lancs.ac.uk/~ribeiro -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
2010 Feb 07
1
contour & persp
I have this data set that both x & y are ordered vectors of length 600 & 700 respectively; z is a 600 by 700 matrix whose entry z[i,j] is either a missing value (indicated by 'NaN') or a real number between 0 and 1. The contour function contour(x,y,z) gives me a blank picture. I guess the reason is that most of z-entries are missing, only less than 1% are non missing.
2006 Nov 07
1
plot questions?-errors in persp(x1, x2, y) and contour(x1, x2, y)
Dear Uwe Ligges , I still can't finish it. *> aa* #my data x1 x2 y 5 0.05 6 4.4180 1 0.50 3 2.6979 4 0.50 9 2.9000 7 0.95 6 2.6230 8 0.95 6 2.9078 9 0.95 6 2.6727 3 1.40 3 2.4203 2 1.40 9 2.5329 6 1.85 6 2.4867 *> attach(aa)* *> persp(x1,x2,y* error in persp.default(x1, x2, y) : increasing 'x' and 'y' values expected
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
2006 May 09
2
RFC: log='z' for image, contour, persp?
I've been thinking of adding the possibility of including "z" among the axes to be logged in image, contour, and persp. In the first two, it would only affect where the breaks were set if they are calculated automatically; it would have a bigger effect in persp. For example, image(x, y, z, log="z") would set 12 colours evenly spaced on a log scale of the z values.
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
2007 Jan 01
4
Help with filled.contour()
The following plot is a first approximation to what I need: *********************************** mu1 <- 0 mu2 <- 5 s <- 1 x <- seq(-2.5, 7.5, length = 41) y <- seq(-2.5, 2.5, length = 41) f <- function(x,y){ term1 <- 1/(2*pi*sqrt(s*s)) term2 <- -1/2 term3 <- (x - mu1)^2/s term4 <- (y - mu1)^2/s term5 <- (x - mu2)^2/s term1*(.5 * exp(term2*(term3 + term4)) + .5 *
2009 Oct 13
1
vis.gam() contour plots
Greetings, I have what I hope is a simple question. I would like to change my contour interval on the vis.gam( plot.type="contour") in the mgcv package. Is this a situation where I need to modify the function or is there a default value I can change? Thanks
1999 Nov 16
1
spikes in contour and persp (PR#327)
The following matrix of normed likelihoods should give a smooth surface but instead gives a series of spikes in both persp and contour (the dim labels are the axes values). I know an algorithm cannot be infallible but it would be nice to have some parameters to control the smoothing. (It takes close to an hour to produce this matrix on a Pentium II 300mh. It was after that that it crashed with the
2003 Jul 13
2
Coloured 3d surface
Hello, I created a 3d surface (persp) with some points overlaid on it, which is fine. Now I have a second set of z-values(x,y-values same as the first surface), which I would like to make visible on the same graph, however, not as a surface, but rather as coloured contour on the first surface, so that the resulting graph will consist of the original surface having the colour of the second
2010 Feb 20
1
Add lines (contours) to lattice wireframe plot
Hi, I draw a surface corresponding to bivariate density of independent variables (rho=0) using persp(). Then I add a contour line (i.e., circle in my case) at a particular density. Below is a minimal example of what I have so far. # Bivariate density dnorm2d <- function(x, y, rho = 0) { xoy = (x^2 - 2 * rho * x * y + y^2)/(2 * (1 - rho^2)) density = exp(-xoy)/(2 * pi * sqrt(1 - rho^2))
2000 Jul 07
1
Perspective or Contour Plot of a Matrix
I would like to plot a large (401 x 101) matrix of numbers as a perspective plot (with the columns and row indices as the y and x components and the values in the matrix at the z values). I try to convert it to a data frame, but it always errors out with "Figure margins too large". What does this mean? How can I get the plot generated? Thanks -- -Alex Morgan Homepage:
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
1998 Dec 04
1
contour labelling [was "Re: image ()"]
Brian D Ripley writes: Interactive rotation of perspective plots would be a great boon, as would shading options for perspective plots, including contouring on such plots. I am envisioning a division into static and dynamic plots. The static version will concentrate on rendering as nice a picture as possible - anti-aliasing (if supported) arbitrary text rotation etc, whereas the dynamic
2004 Feb 18
3
persp and lines()
R-sters: I'm interested in keeping data plotted in persp to preserve the wireframe look, I'd just like to change one of the lines drawn (in either the x or y direction) into a different color so that it stands out. Or is there some way to add a line (say, via lines(), or abline()) to a persp() plot at the designated x or y that would follow the z surface contour? I could add a line
2000 Jan 31
1
Interest in R plotting capabilities
I'm a scheme and C user generally, I'm a bit wary of the large FORTRAN content of the R language but aside from that issue it seems nice and simple and easy to use. What I want to do is find some GPL software to replace gnuplot, and since R does all the calculating stuff that gnuplot does (probably R is faster though I haven't tested) plus R has quite decent plotting capabilities I
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