par(mar = rep(1,4))
persp(1:64, 1:36, soiltemp, phi=25, theta=25, scale=FALSE, expand=4,
col='lightblue', border=4, ticktype="detailed", xlab="rows",
ylab="columns", zlab="temperature")
Run the code above in your browser using DataLab