Hi, I am plotting interpolation result using autoPlot function of automap package. As the interpolation values varies slightly from plot to plot, so is the colorbar values as well. How can I make the colorbar with a standard value so that all the plots are comparable with a single color bar?
I used the code as below: ****************************** cuts <-seq(min(interpol.output$var1.pred),max(interpol.output$var1.pred),length.out=8) cuts = round(cuts,digits=0) col.regions = brewer.pal(length(cuts)+3-2, "YlOrRd") a <- list("sp.points", pts, col= "red", pch = 16, cex = 1, lwd = 1) automapPlot(interpol.output, "var1.pred", pretty=TRUE, sp.layout = list(a), scales = list(draw=T),xlab = expression("Longitude"^o), ylab = expression("Latitude"^o), main = "Interpolated hydroperiods", spplot = NULL) ****************************** Any help would be very helpful, Thanks, Hasnein -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Standardise-color-bar-for-different-automap-plot-tp7583987.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo