similar to: don't draw legend in filled.contour plot

Displaying 20 results from an estimated 30000 matches similar to: "don't draw legend in filled.contour plot"

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
2003 Sep 25
1
multiple plot layout and filled contour
Hello everybody, Could anybody give me a hint how I can use "layout" and "filled.contour" (or "image" plot with a color legend) together, please? What I want to do is something like the following example (Two or more plots with a legend for each at one page): data(volcano) layout(matrix(1:2, 1, 2, byrow = TRUE)) for (i in 1:2) { filled.contour(i*volcano, color =
2002 Dec 05
2
Help: draw 3 filled.contour on one page
Dear All, I tried to draw 3 filled.contour plots on one page, but failed. It returns "Error in plot.new() : Figure margins too large". Can anyone help me to do this. BTW, does anyone has the experience to draw a isosurface with R? Dr Zhiqiang Cui School of Geography and Environmental Sciences The University of Birmingham Edgbaston, Birmingham B15 2TT
2006 Dec 17
1
Draw a circle on a filled.contour() plot
Hi all, I'm trying to use symbols() to draw a circle of a given radius at a given position onto a filled.contour() plot. The commands I issue are: > filled.contour(y,x,z,levels=seq > (0.02,1.0,len=50),color.palette=colorRampPalette(c > ("blue","yellow","red")),title=title(main="",xlab="",ylab="")) >
2004 Aug 31
1
add single contour line to levelplot
Hello, I want to add a single contour line to a levelplot but can't figure out how to do it 'on-the-fly'. When I include the last line in the code below, I get the following error: Error in NextMethod("[") : Argument "subscripts" is missing, with no default Any tips on how to fix this are greatly appreciated! Ian Jonsen
2011 Dec 31
2
How to color a region in a contour plot with the contour being the boundary?
Dear expeRts, I would like to color a certain region in a levelplot. The region for z <= 0.02 should have a dark gray color. Below is a minimal example. It almost does what I want, but The region between z=0.02 and z=1 is also colored in dark gray (instead of just the region for z <= 0.02). How can I solve this? Cheers, Marius ## z values for given x and y f <- function(x)
2010 Feb 16
3
Triangular filled contour plot
Hi all, I am working on a filled contour plot which shows a triangular matrix data set (as shown below). Is there a possibilty to draw a triangular filled contour in a equilateral triangle (like a ternary plot)? Thanks in advance Johannes http://n4.nabble.com/file/n1557386/Bild3.png -- View this message in context: http://n4.nabble.com/Triangular-filled-contour-plot-tp1557386p1557386.html
2010 Nov 05
1
filled.contour colorbar without black color separators?
Dear list members, I have been using filled.contour in order to plot EEG data. For the colors, I used a conventional ramp from blue to red (blue - green - yellow - red), and 100 color levels to make the plot looking smooth: (...) color.palette = colorRampPalette(c('blue','green', 'yellow','red'), space='rgb'), nlevels = 100 (...) My problem ist that
2010 Nov 23
6
Filled contour plot showing labeled isolines?
Is it possible to create a contour plot with the isolines labeled. I know you can do this with Matlab. Argh! I tried creating a filled contour plot, then using par(new=T), followed by overlaying the contour plot on top. However, the placement of the filled contour plot and the contour plot do not align correctly. Any suggestions would be appreciated. Thanks, Jon -- View this message in
2001 Nov 12
1
Filled Contour.
Hi. I'm a big user of level plots. Because filled.contour() didn't do exactly what I wanted, I hacked at it a bit to add these options: (*) Even spacing in the key, even if the contours are not evenly spaced. (*) Horizontal key (*) options to not use layout() and to plot only the level plot _or_ only the key. This means you can use layout yourself to (e.g.) have several
2010 Mar 23
1
filled.contour formatting questions
Hello, I'm having some trouble getting things to look as I want with filled.contour. 1. My first issue is that I am unable to add line segments to my plot where I want them. Using the rug pattern example: x <- y <- seq(-4*pi, 4*pi, len = 27); r <- sqrt(outer(x^2, y^2, "+")); filled.contour(cos(r^2)*exp(-r/(2*pi))); segments(0.2,0.2,1,0.2); The line segment is not found in
2004 Aug 04
1
Horizontal color bar in filled.contour()
Hello. I was wondering if it is possible to put the color bar (key) on the bottom of the graph, like the "horizontal" toggle in image.plot, rather than on the right side. Does anyone know if this is possible? --jenny
2012 Oct 03
2
Legend Truncated Using filled.contour
Hey everyone, I'm working on a contour plot depicting asymptomatic prevalence at varying durations of infectiousness and force of infection. I've been able to work everything out except for this one - my legend title keeps getting cut off. Here's what I have: filled.contour(x=seq(2,30,length.out=nrow(asym_matrix)), y=seq(1,2,length.out=ncol(asym_matrix)), asym_matrix, color =
2011 Jan 13
1
Grid drawing over the filled.contour's legend
Hello, For a reason I can't seem to figure out (have searched posts on this forum for "filled.contour grid"), the grid (in the code below) is plotting over the legend that accompanies the filled.contour. The dataset has 40 columns and 20 rows. Where have I gone wrong? How can I draw a grid with 40 columns and 20 rows that is constrained to the plotted region and doesn't draw
2006 Jan 09
1
How to use filled.contour(x,y,z) data for levelplot(z)?
Dear all, We used the following function to create a spatial plot of a raster image: filled.contour(xx,yy,zz, color = terrain.colors, nlevels=10, main=naamjaar, plot.axes = { contour(Xcoord/1000,Ycoord/1000,lim.data, nlevels = 4, col=4,drawlabels = T, axes = FALSE, frame.plot = FFALSE, add = TRUE);axis(1); axis(2);
2010 Mar 17
1
Cropped graph using lattice
I'm fitting data from a mixture experiment, and I'd like to present the results in a ternary graph with contours. I found this code by Walmes Zeviani http://n4.nabble.com/Triangular-filled-contour-plot-td1557386.html which is just what I want--except I would like the axis titles and labels to be proportionately larger than the ternary graph itself, for legibility in publication. When I
2003 Dec 19
1
Different scales for keys in lattice levelplots
Can anyone tell me how to obtain a custom scale for the colorkey in each levelplot of a lattice? I am using lattice and levelplot to plot z = f(x, y) for multiple z variables. x and y values are the same across plots, but units for z are different and therefore I need to create a custom scale for each plot's key. It follows that I need to place each plot's key inside that plot's
2007 Feb 22
3
several Filled.contour plots on the same device...
hello - a question about filled.contour plots, for which i haven't found a response in previous posts - sorry if already treated. i'd like to draw several filled.contour plots (that is, maps) on the same device (a postscript file, actually). I know about layout(matrix) , split.screen or par(mfrow) : it works well for simple plots, but with filled.contour plots, i get several pages
2010 Oct 11
2
filled.contour: colour key decoupled from main plot?
Dear R colleagues, I am trying to plot some geophysical data as a filled contour on a continent map and so far the guidance from the R-help archives has been invaluable. The only bit that still eludes me is the colour key (legend) coming with filled.contour: I prefer to generate my own colour palette, mainly based on the quantiles of tenths of the data in order to capture the whole range (of
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 *