powered by
AddScaleBar(asp = 1, unit = NULL, is.lonlat = FALSE, loc = c("bottomleft", "topleft", "topright", "bottomright"), offset = c(0, 0), lab.vert.exag = NULL)
PlotCrossSection
PlotMap
plot(-100:100, -100:100, type = "n", xlab = "x", ylab = "y", asp = 2) AddScaleBar(2, unit = "FEET", loc = "topleft") AddScaleBar(2, unit = "METERS", loc = "bottomright", offset = c(-0.2, 0))
Run the code above in your browser using DataLab