oswaldosantos / ggsn

R package to add north symbols and scale bars to maps created with ggplot or ggmap
http://oswaldosantos.github.io/ggsn/
GNU General Public License v2.0
161 stars 9 forks source link

Line width on scale bar in ggsn #37

Closed omykissP closed 6 years ago

omykissP commented 6 years ago

Any way to adjust the line width on the scale bar? Looks good in plot window, but when exported as a postscript file, the line width is too wide. I see you can adjust text size with st.size, but don't see a way of adjusting line width.

oswaldosantos commented 6 years ago

Install ggsn v0.4.11 and use the border.size argument.

omykissP commented 6 years ago

I tried to install and got this error:

ERROR: dependency ‘sf’ is not available for package ‘ggsn’

Running R on Mac, which might be the issue?

oswaldosantos commented 6 years ago

Install sf and try again

omykissP commented 6 years ago

Success. Thank you!