Displaying 1 result from an estimated 1 matches for "interptemp".
2012 Mar 15
1
coloring wireframe plot with independent/separate matrix of color values.
...to accomplish
this. However, I have not been successful. Below is another explanation
with some example data.
###
#say we have a matrix
DEM=matrix(1:100, ncol=10)
#we also have a matrix of interpolated temperatures measurements (or any
other kind of data with the same resolution as the DEM)
interpTEMP = matrix(floor(runif(100, 1,10)),ncol=10)
#I would normally go through and apply a function to use html color codes
to coincide with interpTEMP but these values will prove my dilemma.
#now I would like to plot my DEM and color each cell based on the
"matching" cell of interpTEMP
#N.B. t...