Re: [R] Plotting Satellite

2014-04-03 Thread Dao_De
Ok i figured it out. Here is the script that gives you the map. The second map should express with a two-color scale or code [indicating significant/non significant] whether your trends are truly significant at a 95% confidence level. All i got is this. And this time i am really stuck.. I

Re: [R] Plotting Satellite

2014-04-01 Thread Dao_De
sorry i forgot to put the file; Here it is https://www.dropbox.com/s/paau32l6bth5t8r/pow_sat_file.txt -- View this message in context: http://r.789695.n4.nabble.com/Plotting-Satellite-tp4687971p4687981.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] Plotting Satellite

2014-04-01 Thread Michael Sumner
Hi, What are the columns in sat.mat? I can see that, sat.mat[,1:2] are longitude and latitude in some form but we don't even know what dim(sat.mat)[2] is from what you've shown. You can avoid the loops (untested): asub <- sat.mat[,1] >= long.min & sat.mat[,1] <= long.max & sat.mat[,2] >= lat.mi

[R] Plotting Satellite

2014-04-01 Thread Dao_De
I want to read the following file with and extract the longitude and latitude for certain areas. The file is satellite data from topex and contains the monthly wave energy fluxes around the worlds oceans. For doing that i have the following loop that reads the specific data. I then want to crea