Displaying 10 results from an estimated 10 matches for "xmn".
Did you mean:
xen
2020 Feb 19
2
Pregunta sobre rLandsat
Hola grupo, estoy siguiendo una gu?a de la librer?a rLandsat que me la he descargado de:
devtools::install_github("socialcopsdev/rLandsat")
Y tras hacer los siguiente (obviamente tengo me he registrado previamente en la api correspondiente):
product_id = c("LC08_L1TP_145049_20180301_20180308_01_T1",
"LC08_L1TP_145049_20170330_20170414_01_T1",
2020 Feb 20
3
Pregunta sobre rLandsat
...das UTM. Determino los renglones y columnas que debe de tener el raster pero cuando visualizo en un SIG me dice que no tiene referencia espacial y el tama?o de pixel es de 29.9 y no de 30 como originalmente era y eso mete ruido al modelo que estoy generando. Alguien me podr?a ayudar?
>
>
> xmn=min(table_2[,1]); xmx=max(table_2[,1])
> ymn=min(table_2[,2]); ymx=max(table_2[,2])
>
> b <- data.frame(cbind(table_2$x, table_2$y))
> coordinates(b) = ~X1 + X2
>
> proj4string(b) <-CRS("+proj=utm +zone=14 +datum=WGS84")
> b1 <- spTransform(b,CRS("+proj=...
2012 Oct 29
3
How can I map numbers to colours with raster?
...classification scheme). How can I map numbers to colours
with raster? Please
require(raster)
conne <- file("C:\\lai.bin", "rb")
sd<- readBin(conne, integer(), size=1, n=360*720, signed=F)
y<-t(matrix((data=sd), ncol=360, nrow=720))
r = raster(y)
extent(r) = extent(c(xmn=-180,xmx=180,ymn=-90,ymx=90))
plot(r)
--
View this message in context: http://r.789695.n4.nabble.com/How-can-I-map-numbers-to-colours-with-raster-tp4647742.html
Sent from the R help mailing list archive at Nabble.com.
2012 Feb 28
1
colour by z value, persp in raster package
Hi all!
My question is how to colour pixels by z value in persp plot in raster package. Here is an example:
x <- seq(-1.95, 1.95, length = 30)
y <- seq(-1.95, 1.95, length = 35)
z <- outer(x, y, function(a,b) a*b^2)
r1 <- raster(nrows=35, ncols=30, xmn=0, xmx=30, ymn = 0, ymx = 35)
r1[] <- c(z)
persp(r1)
There already exist some function to produce persp plot for anothe classes, but I have no idea how deal with RasterLayer object.
Thanks all!
OV
[[alternative HTML version deleted]]
2012 Jun 20
1
Edges and Rasters
Hi everyone!
I would like to draw a line surrounding my raster, with i want it in black,
and i don't know if its possible to change the colour.
A simple example is:
r <- raster(nrow=30, ncol=30, xmn=0)
r[]<-NA
r[393:409]<-99
r[423:439]<-99
r[453:455]<-99
r[456:460]<-30
r[461:469]<-99
r[483:499]<-99
r[513:529]<-99
plot(r,col=terrain.colors(100))
plot( edge(r, type='outer'))
Could anyone help me??
Thanks
--
View this message in context: http://r.789695.n4.nabble...
2006 Feb 01
1
akima 0.4-5, interpp() bug = COMMON block problem
...1:54:17 -0000 1.2
+++ idlctn.f 1 Feb 2006 10:28:53 -0000
@@ -49,7 +49,7 @@
X0 = XII
Y0 = YII
C PROCESSING FOR A NEW SET OF DATA POINTS
- IF (NIT.NE.0) GO TO 80
+C IF (NIT.NE.0) GO TO 80
NIT = 1
C - DIVIDES THE X-Y PLANE INTO NINE RECTANGULAR SECTIONS.
XMN = XD(1)
I guess, using COMMON blocks is generally a bad idea when using Fortran
code within R? Shall I leave it with my workaround or should I search
for more details of the COMMON block misuse?
Best regards
Albrecht Gebhardt
--
// Albrecht Gebhardt Tel.: (++43 463) 2700/3118
// I...
2012 Aug 08
1
Adjusting coordinates in raster plots
Dear R-Help,
When plotting a raster object the origin (0,0) is placed in the center.
E.g. using:
library(raster)
mat = matrix(runif(100),10,10)
r <- raster(ncol=10, nrow=10)
values(r) <- mat
plot(r, main='Raster example',xlab="x",ylab="y")
Does anyone know how to adjust the coordinate system?
E.g. I would like to have 0,0 at the top left.
My naive approach
2011 Mar 04
1
grouping data
....90235 33.90228 33.90227 33.90234 33.90241 33.90247 33.90254
33.90261
I mapped the locations of sampling plots based on x and y.
> plot(x,y)
I made arbitrarily 'fake' data with certain means and standard deviations to
generate regression line as follows:
> (xsim <- sort(rnorm(30, xmn, xsd)))
[1] -87.85130 -87.85125 -87.85093 -87.85092 -87.85081 -87.85074 -87.85070
[8] -87.85070 -87.85060 -87.85059 -87.85053 -87.85046 -87.85046 -87.85042
[15] -87.85037 -87.85028 -87.85026 -87.85026 -87.85025 -87.85023 -87.85019
[22] -87.85015 -87.85007 -87.85003 -87.85000 -87.84970 -87.84957 -...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...;)&Kx}&S?awnO4p`&>qrRHv?`!dORGAv{#~Vd2fpSQaI8C3M8yGO+$RNKD%`tli
z-2DNF;*-Fi9^2;#e^^@^6&E5sb-euC&ZXOT5JL_Fx6;oGhPG1<^8Feebo?ICzW?0a
zm&RUMdo+7^$)luWmnWY?cI8{}!JV<<B*HA%G+ntk!|~qc>d2WJ;s&@4O+EJxT>QUs
z2(!8^+SByQ(o2gYSC;rbn4I%r2ms-OXFA&ZH{a2cDuJK5?nU;i_xmn+o<GB^uKCt}
zrRs|TK-}{j7+%^vtEOYXCPn_tdG~+UE&B0z0O){gzC=+EdqN+c&xFh2h3P(b?~Hys
zD>O$hb=$Ef#TXIQDE4>;)>XcY91;Ka*c{#0f~g0R*2DlW*H8Yls7oa9%K2AOm%*1x
z`<4t at IBn6wclxgD`(oO+Afgb6zwNqaqAcsv@$0M+7vfJ3+_Lto?;knPYZA82o*7lv
zaX at b6R|R7}ZTMh^0l3_`Gzt3emo4OgVJ`Vs<yZ3OeObLIaL?7`<...