https://github.com/cran/fields
Revision 63d588c2cc1bacede5271cbb3a51a63c422060c9 authored by Doug Nychka on 04 September 2009, 00:00:00 UTC, committed by Gabor Csardi on 04 September 2009, 00:00:00 UTC
1 parent e6e2dec
Tip revision: 63d588c2cc1bacede5271cbb3a51a63c422060c9 authored by Doug Nychka on 04 September 2009, 00:00:00 UTC
version 6.01
version 6.01
Tip revision: 63d588c
plot.sim.krig.image.r
# fields, Tools for spatial data
# Copyright 2004-2007, Institute for Mathematics Applied Geosciences
# University Corporation for Atmospheric Research
# Licensed under the GPL -- www.gpl.org/licenses/gpl.html
"plot.sim.krig.image" <- function(x, ...) {
obj <- x
par.old <- par(read.only = TRUE)
on.exit(par(par.old))
M <- length(obj$out)
n <- round(sqrt(M))
m <- round(M/n)
if (m * n < M)
n <- n + 1
set.panel(m, n, relax = TRUE)
for (k in 1:M) {
image.plot(x = obj$grid$x, y = obj$grid$y, z = obj$out[[k]])
}
}
Computing file changes ...