I have a for loop that makes interpolation and plots raster graphs by spplot.
It gives a single color bar but labels change in every plot.
You can see the difference below.

I want to use the same color bar with same labels in ssplot, but I could not plot the graphs according to the same map legend.
Here is final part of the code
for (...) {
...
WElev.IDW = idw(formula = variable~1, locations = spdf2, newdata = r.pts)
mypath <- file.path("C:","...", paste("WElevMonth", colnames(variable), ".png", sep = ""))
png(filename = mypath)
print(spplot(WElev.IDW["var1.pred"]))
dev.off() }