I use the map.scale function from the library (maps) to add a scale to the scale; however, itβs very difficult to manipulate my position and size, especially if I work with different sites that require a scale scale to indicate their total area.
Is there a quick way to insert a scale scale at a specific location on a graph (map)?
Changing the values ββof grconvertX and grconvertY should do it for you.
map.scale(grconvertX(0.5,"npc"), grconvertY(0.08, "npc"),col="#0000ffff", metric = FALSE, ratio=FALSE, relwidth=0.2)