powered by
This function plots the unit at a specified location.
scalebar(Xlowerleft, Ylowerleft, Xupperright, Yupperright, shifttext, shiftkm, sizetext)
No return value, creates a plot.
x and y coordinate of the lower left corner
x and y coordinate of the upper corner
on which margin line, starting at 0 counting outwards
how far from the last point the label should be written
expansion factor for the text
Peter Filzmoser <P.Filzmoser@tuwien.ac.at> http://cstat.tuwien.ac.at/filz/
C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.
plot.new() scalebar(0,0.25,1,0.5,shifttext=-0.05,shiftkm=4e4,sizetext=0.8)
Run the code above in your browser using DataLab