Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201945

Making a customized scale bar in a map

$
0
0

I have a map with a scale bar, which was made using the "scalebar" function in ggplot. But our journal editors require "Reformat the scale bar with tick marks at the numbers. Remove all distances of km and add the word "Kilometers" under the numbers". Do you know how to make this scale bar? Thanks!

My code:

scalebar(mydata,                                                         
         dist=100,
         st.size=3.8)

My result:

enter image description here

I guess the scale bar should be like:

enter image description here


Viewing all articles
Browse latest Browse all 201945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>