Displaying 1 result from an estimated 1 matches for "salinity_1990".
2011 Feb 01
1
Setting maximum value of the legend on an image.plot and animation
Hello,
I'm doing the following:
library(ncdf)
library(fields)
library(animation)
saline <- open.ncdf("salinity_1990.nc")
salt = get.var.ncdf(nc=saline, varid="Salinity")
# create an animation of the complete temporal domain in the ncdf file.
saveHTML({
for (i in 1:364) {
image.plot(salt[, , i])
}
}, img.name = "salinity.img", imgdir = "salinity_dir"...