Re: [R] Contour plots in R Studio

2014-05-12 Thread Pascal Oettli
Hi Lydia, Your question match more the topics of the r-sig-geo list. Please have a look at the "raster" package, as well as the "rasterVis" package to read and work with NetCDF format. Regards, Pascal On Tue, May 13, 2014 at 6:27 AM, Lydia Keppler wrote: > Hi all, > > I am using Windows 7 and

Re: [R] Contour plots in R Studio

2014-05-12 Thread Jeff Newmiller
Granted, you are new here, but reading the Posting Guide is advice included in every post on this list. One key recommendation found there is to not post in HTML, as we don't see what you see when you do that. Use plain text email. Another key piece of advice in the Posting Guide is to provide a

Re: [R] Contour plots in R Studio

2014-05-12 Thread Bert Gunter
Well one would expect that you might find something useful by searching the obvious, like ?contourplot and following the links therein. It also seems (to me, anyway) that you have made little effort to understand how R works, its data structures, syntax, and so forth. So please peruse "An Introd

Re: [R] contour plots

2010-06-22 Thread Duncan Murdoch
On 22/06/2010 9:29 AM, dbeest wrote: Hi All, I'm having difficulty making a contour plot a would like some help. A standard contourplot can be made by having an x,y, and some matrix (shape x*y) with contents: x = 1:10 y = 1:10 cont <- matrix(runif(100,min=1,max=2),nrow=10,ncol=10) filled.conto

Re: [R] Contour plots of four two-dimensional matrices

2009-03-15 Thread David Winsemius
You would use layout to set up the page in base graphics. It sets up the page to receive multiple plots. Unfortunately, this will *not* give you side by side plots because filled.contour is restricted to a full page per its help page layout(matrix(c(1,2,3,4), 2,2 byrow=TRUE) for (i in 1:4)

Re: [R] Contour plots of four two-dimensional matrices

2009-03-15 Thread Thomas Levine
I want to plot them side by side. On Sun, Mar 15, 2009 at 12:41 PM, David Winsemius wrote: > What is it that you want to do with these 4 plots? Overlay them with > different color contours or plot them side-by-side on the same page? > > ?par # for filled.contour but the implementation will be di

Re: [R] Contour plots of four two-dimensional matrices

2009-03-15 Thread David Winsemius
What is it that you want to do with these 4 plots? Overlay them with different color contours or plot them side-by-side on the same page? ?par # for filled.contour but the implementation will be different for those two options. contourplot is is a lattice plotting function. See Figure 6.1

Re: [R] contour plots

2008-08-25 Thread Don MacQueen
I think maybe you have to show your data a little better, and exactly how you are using contour. The posting guidelines request a small reproducible example; without that good help is difficult. In the meantime, here is an example that works. x <- 1:4 y <- 1:58 z <- outer(x,y) * r