[R] Adding Two-Headed Arrow in map legend

Jim Lemon drjimlemon at gmail.com
Mon Apr 11 23:48:22 CEST 2016


Hi Milu,
I just realized that by "the bottom of the map" you may mean "beneath
the map", in which case you should use:

par(xpd=TRUE)
arrows(...)
par(xpd=FALSE)

Jim

On Mon, Apr 11, 2016 at 11:50 PM, Miluji Sb <milujisb at gmail.com> wrote:
> Dear David,
>
> Thank you very much for your replies! I didn't know about par('usr').
>
> I get different coordinates though:
>
> [1] -19.75966  54.75966  33.60000  71.40000
>
> But the arrow is not at the bottom of the map. I will keep playing with
> this. Thanks again!
>
> Sincerely,
>
> Milu
>



More information about the R-help mailing list