Skip to content
Prev 255550 / 398506 Next

filled contour plot with contour lines

Hi Peter,

Thanks for taking the time to consider the problem. I realize the procedure
is not reproducible. I use a 4 dimensional netCDF file (4.2 GB) in size to
pull data into this process. Nobody in their right mind should work with
such things. It's a spatial temporal database with 10 years of daily data
in a irregular area spanning 405 x 287 cells.

Anyway, I tried your suggestion adding a { in front of the for loop and a
closing } following the last line.

It did not work.

Steve Friedman Ph. D.
Ecologist  / Spatial Statistical Analyst
Everglades and Dry Tortugas National Park
950 N Krome Ave (3rd Floor)
Homestead, Florida 33034

Steve_Friedman at nps.gov
Office (305) 224 - 4282
Fax     (305) 224 - 4147


                                                                           
             Peter Ehlers                                                  
             <ehlers at ucalgary.                                             
             ca>                                                        To 
                                       "Steve_Friedman at nps.gov"            
             04/01/2011 05:08          <Steve_Friedman at nps.gov>            
             PM                                                         cc 
                                       "r-help at r-project.org"              
                                       <r-help at r-project.org>              
                                                                   Subject 
                                       Re: [R] filled contour plot with    
                                       contour lines                       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Aren't you missing a set of parentheses?
I can't run your code since it's not reproducible, but to
my aging eyes it seems that you need a set of '{}' around
the contents of your loop:

  for(j in 1:(varsize[4]-1)) { loop stuff }

Peter Ehlers
On 2011-04-01 11:48, Steve_Friedman at nps.gov wrote:
http://www.R-project.org/posting-guide.html