search for: colsn

Displaying 2 results from an estimated 2 matches for "colsn".

Did you mean: colon
2010 Sep 16
2
use same breaks and colors, but the displayed scale are different-image.plot()
...data x<- 1:10; y<- 1:10; z<- outer( x,y,"+");z2<- outer( x,y,"-") #Quick view them image.plot(x,y,z) #relatively larger value image.plot(x,y,z2) #relatively small value #define the same breaks and colors brks<-quantile(c(as.vector(z),as.vector(z2)),na.rm=TRUE) colsn<-length(brks)-1 cols<-gray((colsn:1)/colsn) #I expect they use the same breaks and colors par(mfrow=c(1,2)) image.plot(x,y,z,breaks=brks,col=cols) image.plot(x,y,z2,breaks=brks,col=cols) par(mfrow=c(1,1)) I think they really use the same breaks and colors, but you can see the color legends...
2014 Feb 06
2
Consulta spplot
...ible visualizar la leyenda de cada una de las capas? Actualmente solo visualizo la de la capa base, el mdt. base<-spplot(mdt,col.regions=colMDT, at=pMDT,main=paste(idx[1]), par.settings = list(panel.background=list(col="aquamarine"))) nubes<- spplot(n[[1]],col.regions=colsN, at=pN) preci <- spplot(p[[1]],col.regions=colsP, at=pP) png(paste("precipitacion.png",sep=""),width=600, height=600,bg="white") print(base+nubes+preci) dev.off() Esto serĂ­a un ejemplo de lo que hago: https://drive.google.com/file/d/0B7R8FPPQAigaaE1Td2R...