Thank you Sarah for your clarification. Your codes also helpful to create scale bar on the contour map. Kind regards Lutfor -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/mcp-calculation-tp7585219p7585350.html Sent from the R-sig-geo mailing list archive at Nabble.com.